10664 - Prepare Envers for 5.2 - Deprecated AuditReader getCurrentRevision.
This commit is contained in:
parent
885f76a92f
commit
3cb2390b3d
|
@ -224,7 +224,10 @@ public interface AuditReader {
|
|||
* @param <T> The type of the revision entity to find
|
||||
*
|
||||
* @return The current revision entity, to which any entries in the audit tables will be bound.
|
||||
* @deprecated (since 5.2), use {@link org.hibernate.envers.RevisionListener} instead. While this method is
|
||||
* being deprecated, expect a new API for this in 6.0.
|
||||
*/
|
||||
@Deprecated
|
||||
<T> T getCurrentRevision(Class<T> revisionEntityClass, boolean persist);
|
||||
|
||||
/**
|
||||
|
|
|
@ -76,3 +76,4 @@ implement JPA methods now in core I decided to implement more of a composition a
|
|||
and EntityManager#getFlushMode.
|
||||
* Setting `hibernate.listeners.envers.autoRegister` has been deprecated in favor of
|
||||
`hibernate.envers.autoRegisterListeners`.
|
||||
* AuditReader#getCurrentRevision has been deprecated in favor of `org.hibernate.envers.RevisionListener`.
|
Loading…
Reference in New Issue