public class OneToOneNotOwningMapper extends AbstractOneToOneMapper
OneToOne
relation.AbstractToOneMapper.EntityInfo
Constructor and Description |
---|
OneToOneNotOwningMapper(String notOwningEntityName,
String owningEntityName,
String owningReferencePropertyName,
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 OneToOneNotOwningMapper(String notOwningEntityName, String owningEntityName, String owningReferencePropertyName, 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 © 2001-2017 Red Hat, Inc. All Rights Reserved.