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

Examples of org.hibernate.envers.internal.entities.mapper.relation.component.MiddleRelatedComponentMapper


        null, referencedEntityName
    );

    // Generating the element mapping.
    final MiddleComponentData elementComponentData = new MiddleComponentData(
        new MiddleRelatedComponentMapper( referencedIdData ), 0
    );

    // Generating the index mapping, if an index exists. It can only exists in case a javax.persistence.MapKey
    // annotation is present on the entity. So the middleEntityXml will be not be used. The queryGeneratorBuilder
    // will only be checked for nullnes.
View Full Code Here


      );
      // And adding it to the generator builder.
      queryGeneratorBuilder.addRelation( referencedIdData );

      return new MiddleComponentData(
          new MiddleRelatedComponentMapper( referencedIdData ),
          queryGeneratorBuilder.getCurrentIndex()
      );
    }
    else if ( type instanceof ComponentType ) {
      // Collection of embeddable elements.
View Full Code Here

        null, referencedEntityName
    );

    // Generating the element mapping.
    final MiddleComponentData elementComponentData = new MiddleComponentData(
        new MiddleRelatedComponentMapper( referencedIdData ), 0
    );

    // Generating the index mapping, if an index exists. It can only exists in case a javax.persistence.MapKey
    // annotation is present on the entity. So the middleEntityXml will be not be used. The queryGeneratorBuilder
    // will only be checked for nullnes.
View Full Code Here

      );
      // And adding it to the generator builder.
      queryGeneratorBuilder.addRelation( referencedIdData );

      return new MiddleComponentData(
          new MiddleRelatedComponentMapper( referencedIdData ),
          queryGeneratorBuilder.getCurrentIndex()
      );
    }
    else if ( type instanceof ComponentType ) {
      // Collection of embeddable elements.
View Full Code Here

TOP

Related Classes of org.hibernate.envers.internal.entities.mapper.relation.component.MiddleRelatedComponentMapper

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.