Closed as not planned
Description
BC Break Report
Prior to version 3, you could set the pdo
property of the Doctrine\DBAL\Connection
params. This allowed for you to reuse a PDO connection object.
Q | A |
---|---|
BC Break | yes |
Version | 3.3 |
Summary
The issue here is that you no longer have a way to reuse a connection with Doctrine. I guess the idea now is that you should initialize your PDO connection with Doctrine, then use the new getNativeConnection
method.
Please reference this ticket as well: #4603.
Even if you overload the _conn
property via reflection, you're still left with the error mentioned in this ticket.
SQLSTATE[HY000]: General error: user-supplied statement class must be derived from PDOStatement
The Doctrine\DBAL\Driver\PDO\Statement
class doesn't extend PDOStatement
.
Metadata
Metadata
Assignees
Labels
No labels