src/app/n2n/impl/persistence/orm/property/relation/PropertyMappedOneToOneRelation.php
public function createSelection(MetaTreePoint $metaTreePoint, QueryState $queryState) {
		$targetTreePath = $this->createTargetIdTreePath();

		$idSelection = $metaTreePoint->requestCustomPropertyJoinTreePoint($this->entityProperty, false)
			->requestPropertySelection(new TreePath(array($this->targetEntityModel->getIdDef()
				->getPropertyName())));

		$entitySelection = new ToOneRelationSelection($this->targetEntityModel, $idSelection, $queryState);
		$entitySelection->setLazy($this->fetchType == FetchType::LAZY);
		return $entitySelection;
	}
public function createSelection(MetaTreePoint $metaTreePoint, QueryState $queryState) {
		$targetTreePath = $this->createTargetIdTreePath();

		$idSelection = $metaTreePoint->requestCustomPropertyJoinTreePoint($this->entityProperty, false)
			->requestPropertySelection(new TreePath(array($this->targetEntityModel->getIdDef()
				->getPropertyName())));

		$entitySelection = new ToOneRelationSelection($this->targetEntityModel, $idSelection, $queryState);
		$entitySelection->setLazy($this->fetchType == FetchType::LAZY);
		return $entitySelection;
	}
/* (non-PHPdoc)
@see \n2n\impl\persistence\orm\property\relation\Relation::createSelection()