Class RevisionInfoQueryCreator
- java.lang.Object
-
- org.hibernate.envers.internal.revisioninfo.RevisionInfoQueryCreator
-
public class RevisionInfoQueryCreator extends Object
-
-
Constructor Summary
Constructors Constructor Description RevisionInfoQueryCreator(String revisionInfoEntityName, String revisionInfoIdName, RevisionTimestampValueResolver timestampValueResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query<?>
getRevisionDateQuery(Session session, Number revision)
Query<?>
getRevisionNumberForDateQuery(Session session, Instant instant)
Query<?>
getRevisionNumberForDateQuery(Session session, LocalDateTime localDateTime)
Query<?>
getRevisionNumberForDateQuery(Session session, Date date)
Query<?>
getRevisionsQuery(Session session, Set<Number> revisions)
-
-
-
Constructor Detail
-
RevisionInfoQueryCreator
public RevisionInfoQueryCreator(String revisionInfoEntityName, String revisionInfoIdName, RevisionTimestampValueResolver timestampValueResolver)
-
-
Method Detail
-
getRevisionNumberForDateQuery
public Query<?> getRevisionNumberForDateQuery(Session session, Date date)
-
getRevisionNumberForDateQuery
public Query<?> getRevisionNumberForDateQuery(Session session, LocalDateTime localDateTime)
-
getRevisionNumberForDateQuery
public Query<?> getRevisionNumberForDateQuery(Session session, Instant instant)
-
-