mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
Yeah, nah. This is the real fix. Expose: SpiTransaction TransctionManager.getInScope(); ... and have ebean-spring-txn SpringJdbcTransactionManager call it instead of getActive().
This commit is contained in:
1 parent
73b2cc55f3
commit
175714046a
6 files changed
+29
-23
No files matched your search
@@ -20,14 +20,14 @@ public abstract class TransactionScopeManager implements SpiTransactionScopeMana
|
||||
public abstract void register(TransactionManager manager);
|
||||
|
||||
/**
|
||||
* Return the current Transaction allowing it to be inactive.
|
||||
* Return the current Transaction from internal Ebean scope.
|
||||
*/
|
||||
public abstract SpiTransaction getMaybeInactive();
|
||||
public abstract SpiTransaction getInScope();
|
||||
|
||||
/**
|
||||
* Return the current Transaction for this serverName and Thread.
|
||||
* Return the current Transaction potentially looking in external scope (like Spring).
|
||||
*/
|
||||
public abstract SpiTransaction get();
|
||||
public abstract SpiTransaction getActive();
|
||||
|
||||
/**
|
||||
* Set a new Transaction for this serverName and Thread.
|
||||
|
||||
Reference in new issue
Block a user