Examples of ExtendedPropertyMapper


Examples of org.hibernate.envers.internal.entities.mapper.ExtendedPropertyMapper

            entityName
        );
        return;
      }

      final ExtendedPropertyMapper propertyMapper = null;
      final String parentEntityName = null;
      final EntityConfiguration entityCfg = new EntityConfiguration(
          entityName,
          pc.getClassName(),
          idMapper,
          propertyMapper,
          parentEntityName
      );
      notAuditedEntitiesConfigurations.put( entityName, entityCfg );
      return;
    }

    final String entityName = pc.getEntityName();
    LOG.debugf( "Generating first-pass auditing mapping for entity %s", entityName );

    final String auditEntityName = verEntCfg.getAuditEntityName( entityName );
    final String auditTableName = verEntCfg.getAuditTableName( entityName, pc.getTable().getName() );

    // Registering the audit entity name, now that it is known
    auditEntityNameRegister.register( auditEntityName );

    final AuditTableData auditTableData = new AuditTableData( auditEntityName, auditTableName, schema, catalog );

    // Generating a mapping for the id
    final IdMappingData idMapper = idMetadataGenerator.addId( pc, true );

    final InheritanceType inheritanceType = InheritanceType.get( pc );

    // These properties will be read from the mapping data
    final Element classMapping;
    final ExtendedPropertyMapper propertyMapper;
    final String parentEntityName;

    final Triple<Element, ExtendedPropertyMapper, String> mappingData;

    // Reading the mapping data depending on inheritance type (if any)
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.