Not sure if it works with https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Connection.php#L69-L88