HHH-10688 - Update user guide and migration document regarding envers deprecated settings.

This commit is contained in:
Naros 2016-04-18 08:43:08 -05:00 committed by Chris Cranford
parent 7854e1d338
commit 5331b32a60
2 changed files with 9 additions and 1 deletions

View File

@ -646,6 +646,12 @@ To use customized Envers event listeners, the following steps are needed:
. For the integrator to be automatically used when Hibernate starts up, you will need to add a `META-INF/services/org.hibernate.integrator.spi.Integrator` file to your jar.
The file should contain the fully qualified name of the class implementing the interface.
[NOTE]
====
The use of `hibernate.listeners.envers.autoRegister` has been deprecated. A new configuration setting
`hibernate.envers.autoRegisterListeners` should be used instead.
====
=== Understanding the Envers Schema
For each audited entity (that is, for each entity containing at least one audited field), an audit table is created.

View File

@ -74,3 +74,5 @@ implement JPA methods now in core I decided to implement more of a composition a
returns. #getFlushMode has been altered to return JPA's FlushModeType. The Hibernate FlushMode
is still available via #getHibernateFlushMode and #setHibernateFlushMode. Same for Session#getFlushMode
and EntityManager#getFlushMode.
* Setting `hibernate.listeners.envers.autoRegister` has been deprecated in favor of
`hibernate.envers.autoRegisterListeners`.