https://kotlinlang.org logo
#exposed
Title
# exposed
f

Filip Lastic

01/03/2022, 10:35 AM
Hey. Please, is it possible to override isolation level by
dataSource
isolation? I am using HikariCP as datasource and I defined
hikariDataSource.transactionIsolation = "TRANSACTION_READ_COMMITED"
. But when I call
Copy code
transaction {
 val level = this.transactionIsolation
}
value of the
level
variable is different than isolation specified for dataSource..
So when these two properties are different, what isolation will be used in transaction? The one from
dataSource
or from
TransactionManager
? @tapac Thank you 🙂
2 Views