mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#941 - @Transactional( type = TxType.MANDATORY ) creates a new transaction even if there is one available
This commit is contained in:
1 parent
3fb497b651
commit
5ad9a611f9
2 files changed
+49
-1
No files matched your search
@@ -692,7 +692,7 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
|
||||
if (t == null) {
|
||||
throw new PersistenceException("Transaction missing when MANDATORY");
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
|
||||
case NEVER:
|
||||
if (t != null) {
|
||||
|
||||
Reference in new issue
Block a user