klyn.data.EntityTransaction.markRollbackOnly
method
public markRollbackOnly() as Void:
Description

Prevents the active transaction from being committed.

Throws
  • TransactionException when no transaction is active.
Example
transaction = manager.beginTransaction()
transaction.markRollbackOnly()