mirror of https://github.com/apache/openjpa.git
Changes for JIRA OPENJPA-103 issue.
The processing for default (system level) pre-* and post-* lifecycle methods was not getting kicked off properly. I just had to add a case entry for these MetaDataTags in the switch statement. git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef67680a55
commit
bb7bf59409
|
@ -458,6 +458,15 @@ public class XMLPersistenceMetaDataParser
|
||||||
case ENTITY_LISTENERS:
|
case ENTITY_LISTENERS:
|
||||||
ret = startEntityListeners(attrs);
|
ret = startEntityListeners(attrs);
|
||||||
break;
|
break;
|
||||||
|
case PRE_PERSIST:
|
||||||
|
case POST_PERSIST:
|
||||||
|
case PRE_REMOVE:
|
||||||
|
case POST_REMOVE:
|
||||||
|
case PRE_UPDATE:
|
||||||
|
case POST_UPDATE:
|
||||||
|
case POST_LOAD:
|
||||||
|
ret = startCallback((MetaDataTag) tag, attrs);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
warnUnsupportedTag(name);
|
warnUnsupportedTag(name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue