Package org.hibernate.envers.internal.entities.mapper.relation.query

Examples of org.hibernate.envers.internal.entities.mapper.relation.query.RelationQueryGenerator


    // annotation is present on the entity. So the middleEntityXml will be not be used. The queryGeneratorBuilder
    // will only be checked for nullnes.
    MiddleComponentData indexComponentData = addIndex( null, null );

    // Generating the query generator - it should read directly from the related entity.
    final RelationQueryGenerator queryGenerator = new OneAuditEntityQueryGenerator(
        mainGenerator.getGlobalCfg(),
        mainGenerator.getVerEntCfg(),
        mainGenerator.getAuditStrategy(),
        referencingIdData,
        referencedEntityName,
View Full Code Here


    // ******
    // Generating the property mapper.
    // ******
    // Building the query generator.
    final RelationQueryGenerator queryGenerator = queryGeneratorBuilder.build( elementComponentData, indexComponentData );

    // Creating common data
    final CommonCollectionMapperData commonCollectionMapperData = new CommonCollectionMapperData(
        mainGenerator.getVerEntCfg(),
        auditMiddleEntityName,
View Full Code Here

    // annotation is present on the entity. So the middleEntityXml will be not be used. The queryGeneratorBuilder
    // will only be checked for nullnes.
    MiddleComponentData indexComponentData = addIndex( null, null );

    // Generating the query generator - it should read directly from the related entity.
    final RelationQueryGenerator queryGenerator = new OneAuditEntityQueryGenerator(
        mainGenerator.getGlobalCfg(),
        mainGenerator.getVerEntCfg(),
        mainGenerator.getAuditStrategy(),
        referencingIdData,
        referencedEntityName,
View Full Code Here

    // ******
    // Generating the property mapper.
    // ******
    // Building the query generator.
    final RelationQueryGenerator queryGenerator = queryGeneratorBuilder.build( elementComponentData, indexComponentData );

    // Creating common data
    final CommonCollectionMapperData commonCollectionMapperData = new CommonCollectionMapperData(
        mainGenerator.getVerEntCfg(),
        auditMiddleEntityName,
View Full Code Here

TOP

Related Classes of org.hibernate.envers.internal.entities.mapper.relation.query.RelationQueryGenerator

Copyright © 2018 www.massapicom. 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.