Class EnversRevisionRepositoryImpl<T,ID,N extends Number & Comparable<N>>
java.lang.Object
org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl<T,ID,N>
- All Implemented Interfaces:
RevisionRepository<T,,ID, N> Repository<T,ID>
@Transactional(readOnly=true)
public class EnversRevisionRepositoryImpl<T,ID,N extends Number & Comparable<N>>
extends Object
implements RevisionRepository<T,ID,N>
Repository implementation using Hibernate Envers to implement revision specific query methods.
- Author:
- Oliver Gierke, Philipp Huegelmeyer, Michael Igler, Jens Schauder, Julien Millau, Mark Paluch, Sander Bylemans, Niklas Loechte
-
Constructor Summary
ConstructorsConstructorDescriptionEnversRevisionRepositoryImpl(JpaEntityInformation<T, ?> entityInformation, RevisionEntityInformation revisionEntityInformation, jakarta.persistence.EntityManager entityManager) Creates a newEnversRevisionRepositoryImplusing the givenJpaEntityInformation,RevisionEntityInformationandEntityManager. -
Method Summary
-
Constructor Details
-
EnversRevisionRepositoryImpl
public EnversRevisionRepositoryImpl(JpaEntityInformation<T, ?> entityInformation, RevisionEntityInformation revisionEntityInformation, jakarta.persistence.EntityManager entityManager) Creates a newEnversRevisionRepositoryImplusing the givenJpaEntityInformation,RevisionEntityInformationandEntityManager.- Parameters:
entityInformation- must not be null.revisionEntityInformation- must not be null.entityManager- must not be null.
-
-
Method Details
-
findLastChangeRevision
- Specified by:
findLastChangeRevisionin interfaceRevisionRepository<T,ID, N extends Number & Comparable<N>>
-
findRevision
- Specified by:
findRevisionin interfaceRevisionRepository<T,ID, N extends Number & Comparable<N>>
-
findRevisions
- Specified by:
findRevisionsin interfaceRevisionRepository<T,ID, N extends Number & Comparable<N>>
-
findRevisions
- Specified by:
findRevisionsin interfaceRevisionRepository<T,ID, N extends Number & Comparable<N>>
-