mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#287 - ENH: Support nested transactions with the Ebean.beginTransaction() API
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user