SpringTransactionManager
class SpringTransactionManager(dataSource: DataSource, databaseConfig: DatabaseConfig = DatabaseConfig {}, showSql: Boolean = false) : AbstractPlatformTransactionManager
Transaction Manager implementation that builds on top of Spring's standard transaction workflow.
Parameters
dataSource
The data source that produces Connection
objects.
databaseConfig
The configuration that defines custom properties to be used with connections. If none is specified, the default configuration values will be used.
Samples
org.jetbrains.exposed.spring.TestConfigConstructors
Link copied to clipboard
constructor(dataSource: DataSource, databaseConfig: DatabaseConfig = DatabaseConfig {}, showSql: Boolean = false)