Fixed condition

This commit is contained in:
Kai Zimmermann
2016-04-08 06:13:16 +02:00
parent e3de03206d
commit 0c800d3149

View File

@@ -38,7 +38,7 @@ public class MultiTenantJpaTransactionManager extends JpaTransactionManager {
super.doBegin(transaction, definition);
// ignore transactions on tenant independent calls
if (isTenantManagement(definition) && isCurrentTenantKeyGenerator(definition)) {
if (isTenantManagement(definition) || isCurrentTenantKeyGenerator(definition)) {
return;
}