mirror of https://github.com/apache/openjpa.git
OPENJPA-2293: Don't check for listeners if exclude-default-listener is configured.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd7851e9d3
commit
c6fa108b30
|
@ -3278,7 +3278,7 @@ public class StateManagerImpl
|
|||
|
||||
// no listeners?
|
||||
LifecycleEventManager mgr = _broker.getLifecycleEventManager();
|
||||
if (mgr == null || !mgr.hasLoadListeners(getManagedInstance(), _meta))
|
||||
if (mgr == null || !mgr.isActive(_meta) || !mgr.hasLoadListeners(getManagedInstance(), _meta))
|
||||
return;
|
||||
|
||||
if (fetch == null)
|
||||
|
|
Loading…
Reference in New Issue