Interface JdbcRepositoryConfiguration
-
- All Known Implementing Classes:
SqaleRepositoryConfiguration
public interface JdbcRepositoryConfiguration
Common contract for SQL-based repository configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CREATE_MISSING_CUSTOM_COLUMNS
static String
PROPERTY_DATABASE
static String
PROPERTY_DATASOURCE
static String
PROPERTY_DRIVER_CLASS_NAME
static String
PROPERTY_FULL_OBJECT_FORMAT
Specifies language used for writing fullObject attribute.static String
PROPERTY_IDLE_TIMEOUT
static String
PROPERTY_INITIALIZATION_FAIL_TIMEOUT
static String
PROPERTY_ITERATIVE_SEARCH_BY_PAGING_BATCH_SIZE
static String
PROPERTY_JDBC_PASSWORD
static String
PROPERTY_JDBC_PASSWORD_FILE
static String
PROPERTY_JDBC_URL
static String
PROPERTY_JDBC_USERNAME
static String
PROPERTY_KEEPALIVE_TIME
static String
PROPERTY_LEAK_DETECTION_THRESHOLD
static String
PROPERTY_MAX_LIFETIME
static String
PROPERTY_MAX_POOL_SIZE
static String
PROPERTY_MIN_POOL_SIZE
static String
PROPERTY_PERFORMANCE_STATISTICS_FILE
static String
PROPERTY_PERFORMANCE_STATISTICS_LEVEL
static String
PROPERTY_USE_ZIP
static String
PROPERTY_USE_ZIP_AUDIT
-
Method Summary
-
-
-
Field Detail
-
PROPERTY_DATABASE
static final String PROPERTY_DATABASE
- See Also:
- Constant Field Values
-
PROPERTY_DATASOURCE
static final String PROPERTY_DATASOURCE
- See Also:
- Constant Field Values
-
PROPERTY_DRIVER_CLASS_NAME
static final String PROPERTY_DRIVER_CLASS_NAME
- See Also:
- Constant Field Values
-
PROPERTY_JDBC_PASSWORD
static final String PROPERTY_JDBC_PASSWORD
- See Also:
- Constant Field Values
-
PROPERTY_JDBC_PASSWORD_FILE
static final String PROPERTY_JDBC_PASSWORD_FILE
- See Also:
- Constant Field Values
-
PROPERTY_JDBC_USERNAME
static final String PROPERTY_JDBC_USERNAME
- See Also:
- Constant Field Values
-
PROPERTY_JDBC_URL
static final String PROPERTY_JDBC_URL
- See Also:
- Constant Field Values
-
PROPERTY_MIN_POOL_SIZE
static final String PROPERTY_MIN_POOL_SIZE
- See Also:
- Constant Field Values
-
PROPERTY_MAX_POOL_SIZE
static final String PROPERTY_MAX_POOL_SIZE
- See Also:
- Constant Field Values
-
PROPERTY_MAX_LIFETIME
static final String PROPERTY_MAX_LIFETIME
- See Also:
- Constant Field Values
-
PROPERTY_IDLE_TIMEOUT
static final String PROPERTY_IDLE_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_KEEPALIVE_TIME
static final String PROPERTY_KEEPALIVE_TIME
- See Also:
- Constant Field Values
-
PROPERTY_LEAK_DETECTION_THRESHOLD
static final String PROPERTY_LEAK_DETECTION_THRESHOLD
- See Also:
- Constant Field Values
-
PROPERTY_INITIALIZATION_FAIL_TIMEOUT
static final String PROPERTY_INITIALIZATION_FAIL_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_USE_ZIP
static final String PROPERTY_USE_ZIP
- See Also:
- Constant Field Values
-
PROPERTY_USE_ZIP_AUDIT
static final String PROPERTY_USE_ZIP_AUDIT
- See Also:
- Constant Field Values
-
PROPERTY_FULL_OBJECT_FORMAT
static final String PROPERTY_FULL_OBJECT_FORMAT
Specifies language used for writing fullObject attribute. See LANG constants inPrismContext
for supported values.- See Also:
- Constant Field Values
-
PROPERTY_PERFORMANCE_STATISTICS_FILE
static final String PROPERTY_PERFORMANCE_STATISTICS_FILE
- See Also:
- Constant Field Values
-
PROPERTY_PERFORMANCE_STATISTICS_LEVEL
static final String PROPERTY_PERFORMANCE_STATISTICS_LEVEL
- See Also:
- Constant Field Values
-
PROPERTY_ITERATIVE_SEARCH_BY_PAGING_BATCH_SIZE
static final String PROPERTY_ITERATIVE_SEARCH_BY_PAGING_BATCH_SIZE
- See Also:
- Constant Field Values
-
PROPERTY_CREATE_MISSING_CUSTOM_COLUMNS
static final String PROPERTY_CREATE_MISSING_CUSTOM_COLUMNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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, thenConnection.setReadOnly(boolean)
is used for read only transactions andgetReadOnlyTransactionStatement()
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 seePROPERTY_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()
-
-