Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a30c9b commit 49a2546Copy full SHA for 49a2546
src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php
@@ -181,7 +181,8 @@ public function get(): ?array
181
// Wrap the rownum query in a sub-query to allow writelocks without ORA-02014 error
182
if ($this->driverConnection->getDatabasePlatform() instanceof OraclePlatform) {
183
$query = $this->createQueryBuilder('w')
184
- ->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')');
+ ->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')')
185
+ ->setParameters($query->getParameters());
186
187
if (method_exists(QueryBuilder::class, 'forUpdate')) {
188
$query->forUpdate();
0 commit comments