Class DataSourceLookup
java.lang.Object
com.sap.cds.feature.mt.lib.runtime.DataSourceLookup
- Direct Known Subclasses:
HikariDataSourceLookup,TomcatDataSourceLookup
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataSourceLookup(InstanceLifecycleManager instanceLifecycleManager) protectedDataSourceLookup(InstanceLifecycleManager instanceLifecycleManager, boolean combinePools) -
Method Summary
Modifier and TypeMethodDescriptioncheckDataSourcePerDb(String dummySelectStatement) protected abstract voidcloseDataSource(DataSource dataSource) protected abstract DataSourcecreate(DataSourceInfo info) protected StringdetermineSqlState(Throwable exception) booleanbooleanisAuthenticationProblem(SQLException sqlException) booleanpoolMode()voidreset()
-
Constructor Details
-
DataSourceLookup
-
DataSourceLookup
-
-
Method Details
-
isAuthenticationProblem
-
determineSqlState
-
reset
public void reset() -
checkDataSourcePerDb
-
create
- Throws:
InternalError
-
closeDataSource
-
isCombinePools
public boolean isCombinePools() -
poolMode
-
getDbType
-
healthCheckPossible
public boolean healthCheckPossible()
-