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

doctrinebot opened this Issue Jul 7, 2010 · 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 Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0.0-BETA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment