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"