mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2894: on-update cascade for one-to-one association #3607
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 (Jan 8, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user ibo_s:
I'm trying to use on-update cascade in a one-to-one association but it ends in on-update restrict when I update the database tables.
I'm using XML Definition an my definition for this specific association looks like this:
This works pretty well when I use on-update="CASCADE" in a many-to-one association, but one-to-one just ignores it.
When I change the database manually everything works well, but the next update from command line will override it.
@doctrinebot commented on GitHub (Nov 12, 2014):
Comment created by pradkris3:
Any updates on this one?
@doctrinebot commented on GitHub (Nov 13, 2014):
Comment created by @ocramius:
We don't support
on-updateanymore, as identifiers should be immutable.