public interface DataSourceProvider
TenantAwareDataSourceProvider.| Modifier and Type | Method and Description |
|---|---|
DatabaseType |
getDatabaseType()
Returns the database type.
|
DataSource |
getDataSource()
Returns the host application's SQL data source.
|
String |
getSchema()
Returns the name of the schema used with this database.
|
DataSource getDataSource()
DatabaseType getDatabaseType()
Returns the database type.
Note: if DatabaseType.UNKNOWN is returned, it is up to the
calling code to 'guess' the type of the database. It is strongly advised to implement this method so
that it never returns DatabaseType.UNKNOWN.
Copyright © 2018 Atlassian. All rights reserved.