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

Examples of org.hibernate.envers.internal.entities.mapper.relation.ToOneIdMapper


    // Adding mapper for the id
    final PropertyData propertyData = propertyAuditingData.getPropertyData();
    mapper.addComposite(
        propertyData,
        new ToOneIdMapper( relMapper, propertyData, referencedEntityName, nonInsertableFake )
    );
  }
View Full Code Here


    // Adding mapper for the id
    final PropertyData propertyData = propertyAuditingData.getPropertyData();
    mapper.addComposite(
        propertyData,
        new ToOneIdMapper( relMapper, propertyData, referencedEntityName, nonInsertableFake )
    );
  }
View Full Code Here

      // Creating a prefixed relation mapper.
      final IdMapper relMapper = referencingIdMapping.getIdMapper().prefixMappedProperties(
          MappingTools.createToOneRelationPrefix( auditMappedBy )
      );

      fakeBidirectionalRelationMapper = new ToOneIdMapper(
          relMapper,
          // The mapper will only be used to map from entity to map, so no need to provide other details
          // when constructing the PropertyData.
          new PropertyData( auditMappedBy, null, null, null ),
          referencingEntityName, false
View Full Code Here

    // Adding mapper for the id
    final PropertyData propertyData = propertyAuditingData.getPropertyData();
    mapper.addComposite(
        propertyData,
        new ToOneIdMapper( relMapper, propertyData, referencedEntityName, nonInsertableFake )
    );
  }
View Full Code Here

      // Creating a prefixed relation mapper.
      final IdMapper relMapper = referencingIdMapping.getIdMapper().prefixMappedProperties(
          MappingTools.createToOneRelationPrefix( auditMappedBy )
      );

      fakeBidirectionalRelationMapper = new ToOneIdMapper(
          relMapper,
          // The mapper will only be used to map from entity to map, so no need to provide other details
          // when constructing the PropertyData.
          new PropertyData( auditMappedBy, null, null, null ),
          referencingEntityName, false
View Full Code Here

TOP

Related Classes of org.hibernate.envers.internal.entities.mapper.relation.ToOneIdMapper

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.