docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/-r2dbc-database-config/-builder/index.html
class Builder : DatabaseConfig.Builder
Builder API responsible for constructing a custom R2dbcDatabase configuration parameter state.
Members
Link copied to clipboard
constructor()
Link copied to clipboard
var connectionFactoryOptions: ConnectionFactoryOptions
The ConnectionFactoryOptions state holder that should be associated to a io.r2dbc.spi.ConnectionFactory when creating connections.
Link copied to clipboard
var defaultFetchSize: Int?
Link copied to clipboard
open override var defaultIsolationLevel: Int
Link copied to clipboard
var defaultMaxAttempts: Int
Link copied to clipboard
var defaultMaxRetryDelay: Long
Link copied to clipboard
var defaultMinRetryDelay: Long
Link copied to clipboard
var defaultR2dbcIsolationLevel: IsolationLevel?
The default transaction IsolationLevel. If not specified, the database-specific level will be used. This can be overridden on a per-transaction level by specifying the transactionIsolation parameter of the org.jetbrains.exposed.v1.r2dbc.transactions.suspendTransaction.
Link copied to clipboard
var defaultReadOnly: Boolean
Link copied to clipboard
var defaultSchema: Schema?
Link copied to clipboard
var dispatcher: CoroutineDispatcher
Link copied to clipboard
var explicitDialect: DatabaseDialect?
keepLoadedReferencesOutOfTransaction
Link copied to clipboard
var keepLoadedReferencesOutOfTransaction: Boolean
Link copied to clipboard
var logTooMuchResultSetsThreshold: Int
maxEntitiesToStoreInCachePerEntity
Link copied to clipboard
var maxEntitiesToStoreInCachePerEntity: Int
Link copied to clipboard
var preserveIdentifierCasing: Boolean
Link copied to clipboard
var preserveKeywordCasing: Boolean
Link copied to clipboard
Link copied to clipboard
var typeMapping: R2dbcTypeMapping
Registry storing all built-in org.jetbrains.exposed.v1.r2dbc.mappers.TypeMapper classes, as well as any custom mappers implemented and detected by a ServiceLoader.
Link copied to clipboard
var useNestedTransactions: Boolean
Link copied to clipboard
var warnLongQueriesDuration: Long?
Link copied to clipboard
fun build(): R2dbcDatabaseConfig
Link copied to clipboard
fun connectionFactoryOptions(block: ConnectionFactoryOptions.Builder.() -> Unit)
Constructs a new ConnectionFactoryOptions state holder using a ConnectionFactoryOptions.Builder as the block receiver and sets the new object as the value of the R2dbcDatabaseConfig.connectionFactoryOptions property.
Link copied to clipboard
Parses an R2DBC connection url string and uses it to set the R2dbcDatabaseConfig.connectionFactoryOptions property. The expected format is r2dbc:driver[:protocol]://[user:password@]host[:port][/path][?option=value].
Generated by Dokka © 2026 Copyright