springTransactionManager

@Bean
open fun springTransactionManager(datasource: DataSource, databaseConfig: DatabaseConfig): SpringTransactionManager

Returns a SpringTransactionManager instance using the specified datasource and databaseConfig.

To enable logging of all transaction queries by the SpringTransactionManager instance, set the property spring.exposed.show-sql to true in the application.properties file.