Interface JdbcRepositoryConfiguration

  • All Known Implementing Classes:
    SqaleRepositoryConfiguration

    public interface JdbcRepositoryConfiguration
    Common contract for SQL-based repository configuration.
    • Method Detail

      • 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()
      • 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()
      • 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()