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

Examples of org.hibernate.envers.internal.entities.mapper.id.IdMapper.mapToIdFromMap()


    // Fixes HHH-4751 issue (@IdClass with @ManyToOne relation mapping inside)
    // Note that identifiers are always audited
    // Replace identifier proxies if do not point to audit tables
    replaceNonAuditIdProxies( versionsEntity, revision );

    final Object primaryKey = idMapper.mapToIdFromMap( originalId );

    // Checking if the entity is in cache
    if ( versionsReader.getFirstLevelCache().contains( entityName, revision, primaryKey ) ) {
      return versionsReader.getFirstLevelCache().get( entityName, revision, primaryKey );
    }
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.