File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,12 @@ private function magicJoinOnOneQuery(MagicJoinSelect $magicJoinSelect)
210
210
$ onNode = new Equal ();
211
211
$ leftCol = new ColRef ();
212
212
$ leftCol ->setTable ($ foreignKey ->getLocalTableName ());
213
- $ leftCol ->setColumn ($ foreignKey ->getLocalColumns ()[0 ]);
213
+ // For some reasons, with Oracle, DBAL returns quoted identifiers. We need to unquote them.
214
+ $ leftCol ->setColumn ($ foreignKey ->getUnquotedLocalColumns ()[0 ]);
214
215
215
216
$ rightCol = new ColRef ();
216
217
$ rightCol ->setTable ($ foreignKey ->getForeignTableName ());
217
- $ rightCol ->setColumn ($ foreignKey ->getForeignColumns ()[0 ]);
218
+ $ rightCol ->setColumn ($ foreignKey ->getUnquotedForeignColumns ()[0 ]);
218
219
219
220
$ onNode ->setLeftOperand ($ leftCol );
220
221
$ onNode ->setRightOperand ($ rightCol );
You can’t perform that action at this time.
0 commit comments