public class OneToOnePrimaryKeyJoinColumnMapper extends AbstractOneToOneMapper
OneToOne
with PrimaryKeyJoinColumn
relation.AbstractToOneMapper.EntityInfo
Constructor and Description |
---|
OneToOnePrimaryKeyJoinColumnMapper(String entityName,
String referencedEntityName,
PropertyData propertyData) |
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)
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 © 2018 JBoss by Red Hat. All rights reserved.