Closed
Description
Symfony version(s) affected
6.4.4
Description
When insert symfony messenger message using doctrine-messenger in Oracle database, return lastInsertId() returned false, no id was returned.
How to reproduce
Install symfony messenger 6.4.4, config doctrine messenger transport and store new message.
This error already existed in previous versions. Oracle does not return lastInsertId, but PHP was passing 'false' to an empty string ''.
Now it's being handled in the if statement, so it throws an exception.
Possible Solution
No solution :(
doctrine dbal no support lastInsertId with oci8
https://github.com/doctrine/dbal/blob/3.8.x/src/Driver/OCI8/Connection.php#L118
https://github.com/doctrine/dbal/blob/4.0.x/src/Driver/OCI8/Connection.php#L88
Additional Context
No response