mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1084: Unable to make a One-To-Many, Bidirectional with YALM #1357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 28, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user pbrun:
Two YAML description :
inside Application.yml
oneToMany:
ips:
targetEntity: Entities\ApplicationIp
mappedBy: ApplicationAppid
right:
targetEntity: Entities\ApplicationRight
mappedBy: appId
inside ApplicationRight.yml :
manyToOne:
targetEntity: Entities\Application
inversedBy: right
JoinColumn:
name: application_appId
referencedColumnName: appId
When i generate with this command line : php doctrine orm:generate-entities ./
i have this following error :
PHP Fatal error: Undefined class constant 'Doctrine\ORM\Mapping\ClassMetadata::FETCH_E' in D:\PBR\Projet\PAA\Workspace
WebService\lib\Doctrine\ORM\Mapping\Driver\YamlDriver.php on line 307
Fatal error: Undefined class constant 'Doctrine\ORM\Mapping\ClassMetadata::FETCH_E' in D:\PBR\Projet\PAA\Workspace\WebSe
rvice\lib\Doctrine\ORM\Mapping\Driver\YamlDriver.php on line 307
Maybe i have make some mistake but there are not many documentation about the YALM driver and i don't see any solution since few day.
@doctrinebot commented on GitHub (Mar 28, 2011):
Issue was closed with resolution "Invalid"