Interface JdbcRepositoryConfiguration

All Known Implementing Classes:
SqaleRepositoryConfiguration

public interface JdbcRepositoryConfiguration
Common contract for SQL-based repository configuration.
  • Field Details

  • Method Details

    • getDatabaseType

      SupportedDatabase getDatabaseType()
    • getDataSource

      String getDataSource()
    • getDriverClassName

      String getDriverClassName()
    • getJdbcUrl

      String getJdbcUrl()
    • getJdbcUrl

      default String getJdbcUrl(String applicationName)
      Allows distinguishing connections for various usages like repository, audit, scheduler. By default, this doesn't do anything, but works for new repository.
    • getJdbcUsername

      String getJdbcUsername()
    • isEmbedded

      boolean isEmbedded()
    • getJdbcPassword

      String getJdbcPassword()
    • getTransactionIsolation

      TransactionIsolation getTransactionIsolation()
    • useSetReadOnlyOnConnection

      default boolean useSetReadOnlyOnConnection()
      If true, then Connection.setReadOnly(boolean) is used for read only transactions and getReadOnlyTransactionStatement() is ignored.
    • getReadOnlyTransactionStatement

      default String getReadOnlyTransactionStatement()
      Statement to start or set read only transaction, null if not supported.
    • getInitializationFailTimeout

      long getInitializationFailTimeout()
    • getMinPoolSize

      int getMinPoolSize()
    • getMaxPoolSize

      int getMaxPoolSize()
    • getMaxLifetime

      Long getMaxLifetime()
    • getIdleTimeout

      Long getIdleTimeout()
    • getKeepaliveTime

      default Long getKeepaliveTime()
    • getLeakDetectionThreshold

      default Long getLeakDetectionThreshold()
    • isUseZip

      boolean isUseZip()
    • isUseZipAudit

      boolean isUseZipAudit()
    • isUsing

      boolean isUsing(SupportedDatabase db)
    • getFullObjectFormat

      String getFullObjectFormat()
      Returns serialization format (language) for writing fullObject. Also see PROPERTY_FULL_OBJECT_FORMAT.
    • getDefaultEmbeddedJdbcUrlPrefix

      String getDefaultEmbeddedJdbcUrlPrefix()
    • getPerformanceStatisticsFile

      String getPerformanceStatisticsFile()
    • getPerformanceStatisticsLevel

      int getPerformanceStatisticsLevel()
    • isUsingH2

      default boolean isUsingH2()
    • isUsingOracle

      default boolean isUsingOracle()
    • isUsingPostgreSQL

      default boolean isUsingPostgreSQL()
    • isUsingSQLServer

      default boolean isUsingSQLServer()
    • getIterativeSearchByPagingBatchSize

      int getIterativeSearchByPagingBatchSize()
    • isCreateMissingCustomColumns

      boolean isCreateMissingCustomColumns()