Examples of AuditEntitiesConfiguration


Examples of org.hibernate.envers.configuration.internal.AuditEntitiesConfiguration

         *   SELECT new list(e) FROM versionsReferencedEntity e
         *   WHERE
         * (all specified conditions, transformed, on the "e" entity) AND
         * e.revision = :revision
         */
    AuditEntitiesConfiguration verEntCfg = verCfg.getAuditEntCfg();
    String revisionPropertyPath = verEntCfg.getRevisionNumberPath();
    qb.getRootParameters().addWhereWithParam( revisionPropertyPath, "=", revision );

    // all specified conditions
    for ( AuditCriterion criterion : criterions ) {
      criterion.addToQuery( verCfg, versionsReader, entityName, qb, qb.getRootParameters() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.