Interface JdbcRepositoryConfiguration
- All Known Implementing Classes:
SqaleRepositoryConfiguration
public interface JdbcRepositoryConfiguration
Common contract for SQL-based repository configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Specifies language used for writing fullObject attribute.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionReturns serialization format (language) for writing fullObject.long
int
default String
getJdbcUrl
(String applicationName) Allows distinguishing connections for various usages like repository, audit, scheduler.default Long
default Long
int
int
int
default String
Statement to start or set read only transaction, null if not supported.boolean
boolean
isUseZip()
boolean
boolean
default boolean
default boolean
default boolean
default boolean
If true, thenConnection.setReadOnly(boolean)
is used for read only transactions andgetReadOnlyTransactionStatement()
is ignored.
-
Field Details
-
PROPERTY_DATABASE
- See Also:
-
PROPERTY_DATASOURCE
- See Also:
-
PROPERTY_DRIVER_CLASS_NAME
- See Also:
-
PROPERTY_JDBC_PASSWORD
- See Also:
-
PROPERTY_JDBC_PASSWORD_FILE
- See Also:
-
PROPERTY_JDBC_USERNAME
- See Also:
-
PROPERTY_JDBC_URL
- See Also:
-
PROPERTY_MIN_POOL_SIZE
- See Also:
-
PROPERTY_MAX_POOL_SIZE
- See Also:
-
PROPERTY_MAX_LIFETIME
- See Also:
-
PROPERTY_IDLE_TIMEOUT
- See Also:
-
PROPERTY_KEEPALIVE_TIME
- See Also:
-
PROPERTY_LEAK_DETECTION_THRESHOLD
- See Also:
-
PROPERTY_INITIALIZATION_FAIL_TIMEOUT
- See Also:
-
PROPERTY_USE_ZIP
- See Also:
-
PROPERTY_USE_ZIP_AUDIT
- See Also:
-
PROPERTY_FULL_OBJECT_FORMAT
Specifies language used for writing fullObject attribute. See LANG constants inPrismContext
for supported values.- See Also:
-
PROPERTY_PERFORMANCE_STATISTICS_FILE
- See Also:
-
PROPERTY_PERFORMANCE_STATISTICS_LEVEL
- See Also:
-
PROPERTY_ITERATIVE_SEARCH_BY_PAGING_BATCH_SIZE
- See Also:
-
PROPERTY_CREATE_MISSING_CUSTOM_COLUMNS
- See Also:
-
-
Method Details
-
getDatabaseType
SupportedDatabase getDatabaseType() -
getDataSource
String getDataSource() -
getDriverClassName
String getDriverClassName() -
getJdbcUrl
String getJdbcUrl() -
getJdbcUrl
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() -
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
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
-
getLeakDetectionThreshold
-
isUseZip
boolean isUseZip() -
isUseZipAudit
boolean isUseZipAudit() -
isUsing
-
getFullObjectFormat
String getFullObjectFormat()Returns serialization format (language) for writing fullObject. Also seePROPERTY_FULL_OBJECT_FORMAT
. -
getPerformanceStatisticsFile
String getPerformanceStatisticsFile() -
getPerformanceStatisticsLevel
int getPerformanceStatisticsLevel() -
isUsingOracle
default boolean isUsingOracle() -
isUsingPostgreSQL
default boolean isUsingPostgreSQL() -
isUsingSQLServer
default boolean isUsingSQLServer() -
getIterativeSearchByPagingBatchSize
int getIterativeSearchByPagingBatchSize() -
isCreateMissingCustomColumns
boolean isCreateMissingCustomColumns()
-