# DatabaseConfig

class DatabaseConfig

A configuration class for a Database.

Parameters set in this class apply to all transactions that use the Database instance, unless an applicable override is specified in an individual transaction block.

## Types

Builder
Link copied to clipboard
class Builder(var sqlLogger: SqlLogger? = null, var useNestedTransactions: Boolean = false, var defaultFetchSize: Int? = null, var defaultIsolationLevel: Int = -1, var defaultMaxAttempts: Int = 3, var defaultMinRetryDelay: Long = 0, var defaultMaxRetryDelay: Long = 0, var defaultReadOnly: Boolean = false, var warnLongQueriesDuration: Long? = null, var maxEntitiesToStoreInCachePerEntity: Int = Int.MAX_VALUE, var keepLoadedReferencesOutOfTransaction: Boolean = false, var explicitDialect: DatabaseDialect? = null, var defaultSchema: Schema? = null, var logTooMuchResultSetsThreshold: Int = 0, var preserveKeywordCasing: Boolean = true)
Companion
Link copied to clipboard
object Companion

## Properties

defaultFetchSize
Link copied to clipboard
val defaultFetchSize: Int?
defaultIsolationLevel
Link copied to clipboard
val defaultIsolationLevel: Int
defaultMaxAttempts
Link copied to clipboard
val defaultMaxAttempts: Int
defaultMaxRepetitionDelay
Link copied to clipboard
val defaultMaxRepetitionDelay: Long
defaultMaxRetryDelay
Link copied to clipboard
val defaultMaxRetryDelay: Long
defaultMinRepetitionDelay
Link copied to clipboard
val defaultMinRepetitionDelay: Long
defaultMinRetryDelay
Link copied to clipboard
val defaultMinRetryDelay: Long
defaultReadOnly
Link copied to clipboard
val defaultReadOnly: Boolean
defaultRepetitionAttempts
Link copied to clipboard
val defaultRepetitionAttempts: Int
defaultSchema
Link copied to clipboard
val defaultSchema: Schema?
explicitDialect
Link copied to clipboard
val explicitDialect: DatabaseDialect?
keepLoadedReferencesOutOfTransaction
Link copied to clipboard
val keepLoadedReferencesOutOfTransaction: Boolean
logTooMuchResultSetsThreshold
Link copied to clipboard
val logTooMuchResultSetsThreshold: Int
maxEntitiesToStoreInCachePerEntity
Link copied to clipboard
val maxEntitiesToStoreInCachePerEntity: Int
preserveKeywordCasing
Link copied to clipboard
val preserveKeywordCasing: Boolean
sqlLogger
Link copied to clipboard
val sqlLogger: SqlLogger
useNestedTransactions
Link copied to clipboard
val useNestedTransactions: Boolean
warnLongQueriesDuration
Link copied to clipboard
val warnLongQueriesDuration: Long?