this.entityName = entityName==null ? null : entityName.intern();
}
public Type getType() throws MappingException {
if ( getColumnIterator().hasNext() ) {
return new SpecialOneToOneType(
getReferencedEntityName(),
foreignKeyType,
referencedPropertyName,
isLazy(),
isUnwrapProxy(),