Class RevisionInfoQueryCreator
java.lang.Object
org.hibernate.envers.internal.revisioninfo.RevisionInfoQueryCreator
-
Constructor Summary
ConstructorsConstructorDescriptionRevisionInfoQueryCreator
(String revisionInfoEntityName, String revisionInfoIdName, RevisionTimestampValueResolver timestampValueResolver) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.query.Query<?>
getRevisionDateQuery
(org.hibernate.Session session, Number revision) org.hibernate.query.Query<?>
getRevisionNumberForDateQuery
(org.hibernate.Session session, Instant instant) org.hibernate.query.Query<?>
getRevisionNumberForDateQuery
(org.hibernate.Session session, LocalDateTime localDateTime) org.hibernate.query.Query<?>
getRevisionNumberForDateQuery
(org.hibernate.Session session, Date date) org.hibernate.query.Query<?>
getRevisionsQuery
(org.hibernate.Session session, Set<Number> revisions)
-
Constructor Details
-
RevisionInfoQueryCreator
public RevisionInfoQueryCreator(String revisionInfoEntityName, String revisionInfoIdName, RevisionTimestampValueResolver timestampValueResolver)
-
-
Method Details
-
getRevisionDateQuery
public org.hibernate.query.Query<?> getRevisionDateQuery(org.hibernate.Session session, Number revision) -
getRevisionNumberForDateQuery
public org.hibernate.query.Query<?> getRevisionNumberForDateQuery(org.hibernate.Session session, Date date) -
getRevisionNumberForDateQuery
public org.hibernate.query.Query<?> getRevisionNumberForDateQuery(org.hibernate.Session session, LocalDateTime localDateTime) -
getRevisionNumberForDateQuery
public org.hibernate.query.Query<?> getRevisionNumberForDateQuery(org.hibernate.Session session, Instant instant) -
getRevisionsQuery
-