#810 - ENH: Add transaction.isRollbackOnly()

This commit is contained in:
Robin Bygrave
2016-08-05 12:14:58 +12:00
parent fdb839f90e
commit 6c182ecaa5
4 changed files with 23 additions and 0 deletions
@@ -965,6 +965,14 @@ public class JdbcTransaction implements SpiTransaction {
}
}
/**
* Return true if the transaction is marked as rollback only.
*/
@Override
public boolean isRollbackOnly() {
return rollbackOnly;
}
/**
* Mark the transaction as rollback only.
*/