mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-954: Look into deferring foreign key checks until flush finished #1190
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 (Dec 28, 2010).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @beberlei:
There are several timing issues that will be complicated to fix which relate to foreign key checks.
If we could optionally allow people to defer the foreign key checks until flush has fully completed we could simply solve them all, maybe even across all vendors?
@doctrinebot commented on GitHub (Dec 28, 2010):
@doctrinebot commented on GitHub (Dec 29, 2010):
Comment created by @beberlei:
Postgresql: http://stackoverflow.com/questions/139884/how-do-i-disable-referential-integrity-in-postgres-8-2
Mysql: http://cristian-radulescu.ro/article/disable-foreign-key-checks-in-mysql.html
Oracle: http://infolab.stanford.edu/~ullman/fcdb/oracle/or-triggers.html#deferring%20constraint%20checking
Mssql: No clue?!
Sqlite: no foreign key support (yet)
DB2: not researched (IBM should provide better DB2 support for PHP first).
@doctrinebot commented on GitHub (May 23, 2012):
Comment created by @guilhermeblanco:
As per
3e601c3a53all tests related to this issue are closed.Marking this ticket as fixed on 2.3.
@doctrinebot commented on GitHub (May 23, 2012):
Issue was closed with resolution "Fixed"