public class OneToOnePrimaryKeyJoinColumnMapper extends AbstractOneToOneMapper
OneToOne
with PrimaryKeyJoinColumn
relation.AbstractToOneMapper.EntityInfo
Constructor and Description |
---|
OneToOnePrimaryKeyJoinColumnMapper(String entityName,
String referencedEntityName,
PropertyData propertyData,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
protected Object |
queryForReferencedEntity(AuditReaderImplementor versionsReader,
AbstractToOneMapper.EntityInfo referencedEntity,
Serializable primaryKey,
Number revision) |
mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, nullSafeMapToEntityFromMap
getEntityInfo, getPropertyData, mapCollectionChanges, mapToEntityFromMap, mapToMapFromEntity, setPropertyValue
public OneToOnePrimaryKeyJoinColumnMapper(String entityName, String referencedEntityName, PropertyData propertyData, ServiceRegistry serviceRegistry)
protected Object queryForReferencedEntity(AuditReaderImplementor versionsReader, AbstractToOneMapper.EntityInfo referencedEntity, Serializable primaryKey, Number revision)
queryForReferencedEntity
in class AbstractOneToOneMapper
versionsReader
- Audit reader.referencedEntity
- Referenced entity descriptor.primaryKey
- Referenced entity identifier.revision
- Revision number.Copyright © 2016 JBoss by Red Hat. All rights reserved.