Thread
#exposed
    z

    zpearce

    4 years ago
    is there any way to begin and commit a transaction in two steps instead of using the
    transaction
    function that takes a lambda?
    tapac

    tapac

    4 years ago
    val transaction = TransactionManager.manager.newTransaction(transactionIsolation)
    ...
    transaction.commit()
    z

    zpearce

    4 years ago
    Thanks, I finally did manage to see that in the source. I'm trying to start the transaction in a kotlintest listener beforeTest. When I get to the test body, the threadLocal holding the new transaction is returning null. Apparently I've got some debugging to do.