mirror of https://github.com/apache/openjpa.git
Make LoadListener.afterRefresh() work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
02f0a83dde
commit
3ebf5a9a07
|
@ -568,8 +568,10 @@ public class LifecycleEventManager
|
||||||
types |= 2 << LifecycleEvent.BEFORE_DIRTY_FLUSHED;
|
types |= 2 << LifecycleEvent.BEFORE_DIRTY_FLUSHED;
|
||||||
types |= 2 << LifecycleEvent.AFTER_DIRTY_FLUSHED;
|
types |= 2 << LifecycleEvent.AFTER_DIRTY_FLUSHED;
|
||||||
}
|
}
|
||||||
if (listener instanceof LoadListener)
|
if (listener instanceof LoadListener) {
|
||||||
types |= 2 << LifecycleEvent.AFTER_LOAD;
|
types |= 2 << LifecycleEvent.AFTER_LOAD;
|
||||||
|
types |= 2 << LifecycleEvent.AFTER_REFRESH;
|
||||||
|
}
|
||||||
if (listener instanceof StoreListener) {
|
if (listener instanceof StoreListener) {
|
||||||
types |= 2 << LifecycleEvent.BEFORE_STORE;
|
types |= 2 << LifecycleEvent.BEFORE_STORE;
|
||||||
types |= 2 << LifecycleEvent.AFTER_STORE;
|
types |= 2 << LifecycleEvent.AFTER_STORE;
|
||||||
|
|
Loading…
Reference in New Issue