mirror of https://github.com/apache/openjpa.git
OPENJPA-2163 Update migration documentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b897fe50cc
commit
e9ab0d7cec
|
@ -477,6 +477,26 @@
|
|||
to <literal>true</literal>.
|
||||
</para>
|
||||
</section>
|
||||
<section id="jpa_2.2_LifecycleEventManager">
|
||||
<title>
|
||||
Life Cycle Event Manager Callback Behavior
|
||||
</title>
|
||||
<!-- See OPENJPA-2163 for details. -->
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
<para>
|
||||
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 <literal>openjpa.Compatibility</literal>
|
||||
property <literal>SingletonLifecycleEventManager</literal>
|
||||
to <literal>true</literal>.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
</appendix>
|
||||
|
|
Loading…
Reference in New Issue