than_
object TransactionTestTable: LongIdTable(){ val foo = integer("foo").check { it greater 0 } }
newSuspendedTransaction { TransactionTestTable.insert { it[foo] = 1 } throw IllegalStateException("FAIL") }
newSuspendedTransaction { TransactionTestTable.insert { it[foo] = 1 } TransactionTestTable.insert { it[foo] = 0 } }
benkuly
newSuspendedTransaction
useLocalTransactionState
true
A modern programming language that makes developers happier.