corda / net.corda.node.services.database / KotlinConfigurationTransactionWrapper

KotlinConfigurationTransactionWrapper

class KotlinConfigurationTransactionWrapper : Configuration

Requery KotlinConfiguration wrapper class to enable us to pass in an existing database connection and associated transaction context.

Types

CordaConnection class CordaConnection : Connection
CordaDataSourceConnectionProvider class CordaDataSourceConnectionProvider : ConnectionProvider

Constructors

<init> KotlinConfigurationTransactionWrapper(model: EntityModel, dataSource: DataSource, mapping: Mapping? = null, platform: Platform? = null, cache: EntityCache = WeakEntityCache(), useDefaultLogging: Boolean = false, statementCacheSize: Int = 0, batchUpdateSize: Int = 64, quoteTableNames: Boolean = false, quoteColumnNames: Boolean = false, tableTransformer: Function<String, String>? = null, columnTransformer: Function<String, String>? = null, transactionMode: TransactionMode = TransactionMode.NONE, transactionIsolation: TransactionIsolation? = null, statementListeners: Set<StatementListener> = LinkedHashSet(), entityStateListeners: Set<EntityStateListener<Any>> = LinkedHashSet(), transactionListeners: Set<Supplier<TransactionListener>> = LinkedHashSet(), writeExecutor: Executor? = null)

Requery KotlinConfiguration wrapper class to enable us to pass in an existing database connection and associated transaction context.

Functions

getBatchUpdateSize fun getBatchUpdateSize(): Int
getCache fun getCache(): EntityCache?
getColumnTransformer fun getColumnTransformer(): Function<String, String>?
getConnectionProvider fun getConnectionProvider(): ConnectionProvider?
getEntityStateListeners fun getEntityStateListeners(): Set<EntityStateListener<Any>>
getMapping fun getMapping(): Mapping?
getModel fun getModel(): EntityModel
getPlatform fun getPlatform(): Platform?
getQuoteColumnNames fun getQuoteColumnNames(): Boolean
getQuoteTableNames fun getQuoteTableNames(): Boolean
getStatementCacheSize fun getStatementCacheSize(): Int
getStatementListeners fun getStatementListeners(): Set<StatementListener>?
getTableTransformer fun getTableTransformer(): Function<String, String>?
getTransactionIsolation fun getTransactionIsolation(): TransactionIsolation?
getTransactionListenerFactories fun getTransactionListenerFactories(): Set<Supplier<TransactionListener>>?
getTransactionMode fun getTransactionMode(): TransactionMode?
getUseDefaultLogging fun getUseDefaultLogging(): Boolean
getWriteExecutor fun getWriteExecutor(): Executor?