Doctrine2 database adapters won't trigger connect() on getResource() call, closes #1335