Back to Exposed

R2dbcDatabaseConfig

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/-r2dbc-database-config/index.html

1.2.06.6 KB
Original Source

R2dbcDatabaseConfig

interface R2dbcDatabaseConfig : DatabaseConfig

A configuration for an R2dbcDatabase instance.

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

Members

Types

Builder

Link copied to clipboard

class Builder : DatabaseConfig.Builder

Builder API responsible for constructing a custom R2dbcDatabase configuration parameter state.

Companion

Link copied to clipboard

object Companion

Properties

connectionFactoryOptions

Link copied to clipboard

abstract val connectionFactoryOptions: ConnectionFactoryOptions

The ConnectionFactoryOptions state holder that should be associated to a io.r2dbc.spi.ConnectionFactory when creating connections.

defaultFetchSize

Link copied to clipboard

abstract val defaultFetchSize: Int?

defaultIsolationLevel

Link copied to clipboard

abstract val defaultIsolationLevel: Int

defaultMaxAttempts

Link copied to clipboard

abstract val defaultMaxAttempts: Int

defaultMaxRetryDelay

Link copied to clipboard

abstract val defaultMaxRetryDelay: Long

defaultMinRetryDelay

Link copied to clipboard

abstract val defaultMinRetryDelay: Long

defaultR2dbcIsolationLevel

Link copied to clipboard

abstract val 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.

defaultReadOnly

Link copied to clipboard

abstract val defaultReadOnly: Boolean

defaultSchema

Link copied to clipboard

abstract val defaultSchema: Schema?

dispatcher

Link copied to clipboard

abstract val dispatcher: CoroutineDispatcher

explicitDialect

Link copied to clipboard

abstract val explicitDialect: DatabaseDialect?

keepLoadedReferencesOutOfTransaction

Link copied to clipboard

abstract val keepLoadedReferencesOutOfTransaction: Boolean

logTooMuchResultSetsThreshold

Link copied to clipboard

abstract val logTooMuchResultSetsThreshold: Int

maxEntitiesToStoreInCachePerEntity

Link copied to clipboard

abstract val maxEntitiesToStoreInCachePerEntity: Int

preserveIdentifierCasing

Link copied to clipboard

abstract val preserveIdentifierCasing: Boolean

preserveKeywordCasing

Link copied to clipboard

abstract val preserveKeywordCasing: Boolean

sqlLogger

Link copied to clipboard

abstract val sqlLogger: SqlLogger

typeMapping

Link copied to clipboard

abstract val 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.

useNestedTransactions

Link copied to clipboard

abstract val useNestedTransactions: Boolean

warnLongQueriesDuration

Link copied to clipboard

abstract val warnLongQueriesDuration: Long?

Generated by Dokka © 2026 Copyright