doctrine/dbal — pull request #704 by deeky666 (2014-10-26 10:42:02+00:00)
Title: [DBAL-1024] Add more foreign key constraint violation error codes

Driver exception conversion was missing some error codes for foreign key constraint violations. Currently only foreign key constraint violations for `DELETE` statements are tested. Foreign key constraint violations can also occur for `INSERT`, `UPDATE` and `TRUNCATE` write operations where some platforms provide dedicated error codes for.