Package | Description |
---|---|
org.hibernate.envers |
Modifier and Type | Method and Description |
---|---|
<T> T |
AuditReader.find(Class<T> cls,
Object primaryKey,
Date date)
Find an entity by primary key on the given date.
|
<T> T |
AuditReader.find(Class<T> cls,
Object primaryKey,
Number revision)
Find an entity by primary key at the given revision.
|
<T> T |
AuditReader.find(Class<T> cls,
String entityName,
Object primaryKey,
Number revision)
Find an entity by primary key at the given revision with the specified entityName.
|
<T> T |
AuditReader.find(Class<T> cls,
String entityName,
Object primaryKey,
Number revision,
boolean includeDeletions)
Find an entity by primary key at the given revision with the specified entityName,
possibly including deleted entities in the search.
|
List<Number> |
AuditReader.getRevisions(Class<?> cls,
Object primaryKey)
Get a list of revision numbers, at which an entity was modified.
|
List<Number> |
AuditReader.getRevisions(Class<?> cls,
String entityName,
Object primaryKey)
Get a list of revision numbers, at which an entity was modified, looking by entityName.
|
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.