Doctrine DBAL

[GH-336] Fixing error code on DBALException (forwarding SQL Error Code).