Class DataSourceLookup

java.lang.Object
com.sap.cds.feature.mt.lib.runtime.DataSourceLookup
Direct Known Subclasses:
HikariDataSourceLookup, TomcatDataSourceLookup

public abstract class DataSourceLookup extends Object
  • Constructor Details

  • Method Details

    • isAuthenticationProblem

      public boolean isAuthenticationProblem(SQLException sqlException)
    • determineSqlState

      protected String determineSqlState(Throwable exception)
    • reset

      public void reset()
    • checkDataSourcePerDb

      public List<HealthCheckResult> checkDataSourcePerDb(String dummySelectStatement)
    • create

      protected abstract DataSource create(DataSourceInfo info) throws InternalError
      Throws:
      InternalError
    • closeDataSource

      protected abstract void closeDataSource(DataSource dataSource)
    • isCombinePools

      public boolean isCombinePools()
    • poolMode

      public PoolMode poolMode()
    • getDbType

      public DbIdentifiers.DB getDbType()
    • healthCheckPossible

      public boolean healthCheckPossible()