org.hibernate.envers.query.AuditAssociationQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-envers Show documentation
Show all versions of hibernate-envers Show documentation
Hibernate's entity version (audit/history) support
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.envers.query;
import jakarta.persistence.criteria.JoinType;
import org.hibernate.CacheMode;
import org.hibernate.FlushMode;
import org.hibernate.Incubating;
import org.hibernate.LockMode;
import org.hibernate.envers.query.criteria.AuditCriterion;
import org.hibernate.envers.query.order.AuditOrder;
import org.hibernate.envers.query.projection.AuditProjection;
/**
* @author Felix Feisst (feisst dot felix at gmail dot com)
*/
@Incubating
public interface AuditAssociationQuery extends AuditQuery {
@Override
AuditAssociationQuery extends AuditAssociationQuery> traverseRelation(String associationName, JoinType joinType);
@Override
AuditAssociationQuery extends AuditAssociationQuery> traverseRelation(String associationName, JoinType joinType,
String alias);
@Override
AuditAssociationQuery add(AuditCriterion criterion);
@Override
AuditAssociationQuery addOrder(AuditOrder order);
@Override
AuditAssociationQuery addProjection(AuditProjection projection);
@Override
AuditAssociationQuery setMaxResults(int maxResults);
@Override
AuditAssociationQuery setFirstResult(int firstResult);
@Override
AuditAssociationQuery setCacheable(boolean cacheable);
@Override
AuditAssociationQuery setCacheRegion(String cacheRegion);
@Override
AuditAssociationQuery setComment(String comment);
@Override
AuditAssociationQuery setFlushMode(FlushMode flushMode);
@Override
AuditAssociationQuery setCacheMode(CacheMode cacheMode);
@Override
AuditAssociationQuery setTimeout(int timeout);
@Override
AuditAssociationQuery setLockMode(LockMode lockMode);
Q up();
}