#287 - ENH: Support nested transactions with the Ebean.beginTransaction() API

This commit is contained in:
rbygrave committed 2015-05-08 21:55:49 +12:00
1 parent fc3e1083d7
commit f7fa778e99
10 files changed
+726 -21

No files matched your search

@@ -768,6 +768,11 @@ public final class DefaultServer implements SpiEbeanServer {
return t;
}
public Transaction beginTransaction(TxScope scope) {
ScopeTrans scopeTrans = createScopeTrans(scope);
return new ScopedTransaction(scopeTrans);
}
/**
* Start a transaction with a specific Isolation Level.
* <p>