Skip to content


DBAL-32: Ensure that error mode is EXCEPTION if existing PDO instance used #1504

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user romanb:

I am not sure whether we do that already but I remember having talked about it. It would probably be good to ensure that error mode is EXCEPTION if an existing PDO instance is used to create a DBAL Connection. Simply forcing the error mode by using setAttribute(PDO::ATTRERRMODE, PDO::ATTR_ERRMODEEXCEPTION) should be sufficient.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.0-BETA3 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.