Tristan Blakers
12/02/2020, 11:12 PMwaltermcq
12/02/2020, 11:24 PMJoel
12/03/2020, 5:18 AMnewSuspendedTransaction
instead of transaction
in a coroutine context.Tristan Blakers
12/03/2020, 5:28 AMoverride fun currentOrNull(): Transaction? = TransactionSynchronizationManager.getResource(this) as Transaction?
which calls into Spring's TransactionSynchronizationManager, which stores the current transaction state in a ThreadlocalJoel
12/03/2020, 8:07 PMDatabase
connection that wraps my Hikari datapool, and then call Exposed natively from there.