mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#810 - ENH: Add transaction.isRollbackOnly()
This commit is contained in:
@@ -63,6 +63,11 @@ public class ScopedTransaction implements SpiTransaction {
|
||||
scopeTrans.setRollbackOnly();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRollbackOnly() {
|
||||
return transaction.isRollbackOnly();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void end() throws PersistenceException {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user