src/app/n2n/impl/persistence/orm/property/relation/JoinTableToManyRelation.php
public function createSelection(MetaTreePoint $metaTreePoint, QueryState $queryState) {
		$idSelection = $metaTreePoint->requestPropertySelection($this->createIdTreePath());
		
		$toManyLoader = new JoinTableToManyLoader(
				new SimpleLoaderUtils($queryState->getEntityManager(), $this->targetEntityModel),
				$this->entityModel->getIdDef()->getEntityProperty(), $this->joinTableName, 
				$this->inverseJoinColumnName, $this->joinColumnName);
		$toManyLoader->setOrderDirectives($this->orderDirectives);
		
		$toManySelection = new ToManyRelationSelection($idSelection, $toManyLoader, 
				$this->getTargetIdEntityProperty());
		$toManySelection->setLazy($this->fetchType == FetchType::LAZY);
		return $toManySelection;
	}
public function createSelection(MetaTreePoint $metaTreePoint, QueryState $queryState) {
		$idSelection = $metaTreePoint->requestPropertySelection($this->createIdTreePath());
		
		$toManyLoader = new JoinTableToManyLoader(
				new SimpleLoaderUtils($queryState->getEntityManager(), $this->targetEntityModel),
				$this->entityModel->getIdDef()->getEntityProperty(), $this->joinTableName, 
				$this->inverseJoinColumnName, $this->joinColumnName);
		$toManyLoader->setOrderDirectives($this->orderDirectives);
		
		$toManySelection = new ToManyRelationSelection($idSelection, $toManyLoader, 
				$this->getTargetIdEntityProperty());
		$toManySelection->setLazy($this->fetchType == FetchType::LAZY);
		return $toManySelection;
	}
/* (non-PHPdoc)
@see \n2n\impl\persistence\orm\property\relation\Relation::createSelection()