#1166 - Refactor to use beginServerTransaction() to make Ebean.currentTransaction available in lifecycle handlers

This commit is contained in:
Rob Bygrave committed 2017-10-17 01:07:48 +13:00
1 parent 331f49824f
commit a89a9f0202
10 files changed
+41 -67

No files matched your search

@@ -1036,16 +1036,6 @@ public class JdbcTransaction implements SpiTransaction {
this.rollbackOnly = true;
}
/**
* Perform rollback is the transaction is still active.
*/
@Override
public void rollbackIfActive() {
if (isActive()) {
rollback(null);
}
}
/**
* Rollback the transaction.
*/