mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-409: Mapping onDelete="CASCADE" and onUpdate="CASCADE" from annotation file to YAML and XML #505
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 11, 2010).
Originally assigned to: @jwage on GitHub.
Jira issue originally created by user freeakk:
onDelete="CASCADE" and onUpdate="CASCADE" don't exist in XML and YAML schemas, which are generated from annotation file...
There are only:
or this for yaml:
But I need this:
onDelete and onUpdate exist on this page, but they don't work in annotation schema
http://www.doctrine-project.org/documentation/manual/2_0/en/annotations-reference%3Areference%3A%40joincolumn
@doctrinebot commented on GitHub (Mar 11, 2010):
Comment created by @beberlei:
fixed format
@doctrinebot commented on GitHub (Mar 11, 2010):
Comment created by @beberlei:
Do in understand this issue right, when executing orm:convert-mapping from annotations to xml/yaml the onDelete and onUpdate get lost?
@doctrinebot commented on GitHub (Mar 12, 2010):
Comment created by freeakk:
Yes
@doctrinebot commented on GitHub (Mar 12, 2010):
Comment created by @beberlei:
Updated
@doctrinebot commented on GitHub (Mar 17, 2010):
Issue was closed with resolution "Fixed"