Life Cycle Event Manager Callback Behavior
Life cycle event manager is used to manage entity’s life cycle event callback. In previous releases, Life cycle event manager is scoped to EntityManagerFactory. This means listeners registered to an individual EntityManager may get life cycle event callbacks for entity that it does not manage.
From 2.2.1 release, the default callback behavior of the life cycle event manager is changed to scope to each EntityManager.
To revert this behavior to the previous release, set the value of the openjpa.Compatibility property SingletonLifecycleEventManager to true.