Use Doctrine DBAL instead of custom connection
Merge pull request #968 from romainneutron/doctrine-connection

[3.9] Use Doctrine DBAL as connection