Details
-
Type:
Documentation
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: Documentation
-
Labels:None
Description
In http://www.doctrine-project.org/docs/orm/2.0/en/reference/yaml-mapping.html
oneToMany:
phonenumbers:
targetEntity: Phonenumber
mappedBy: user
cascade: cascadePersist
not working.. I have to change it to
oneToMany:
phonenumbers:
targetEntity: Phonenumber
mappedBy: user
cascade: [cascadePersist]
to work