Hi guys, is it possible to someshow assign `transa...
# exposed
g
Hi guys, is it possible to someshow assign
transaction
to a variable and then something like
transaction.begin()
and
transaction.commit()
?
e
can you explain what’s your issue which prevents to just use
Copy code
transaction {
   ... 
}
?
g
I have a test class, which implements
Closeable
. Which should start a transaction in the constructor and then commit it in the
close
method. I managed to do it with
TransactionManager#newTransaction