We'll look into it
(edit) It seems to occur with a relationship to self. Normal fetches work fine, but a relationship with self gets a special alias. Odd that it isn't wrapped tho...
Tho the two settings are a bit two sides of the same coin: you can't have case insensitive names when the names are always wrapped in quotes, because Oracle sees a wrapped name as the exact name, so "Foo"
is different from "foo"
but without quotes, Foo
is equal to foo
.
I can't reproduce it on 5.11.1, with AlwaysWrap set to true and CaseInsensitiveNames set to false:
SELECT "SCOTT"."EMP"."COMM" AS "Comm",
"SCOTT"."EMP"."DEPTNO" AS "Deptno",
"SCOTT"."EMP"."EMPNO" AS "Empno",
"SCOTT"."EMP"."ENAME" AS "Ename",
"SCOTT"."EMP"."HIREDATE" AS "Hiredate",
"SCOTT"."EMP"."JOB" AS "Job",
"SCOTT"."EMP"."MGR" AS "Mgr",
"SCOTT"."EMP"."SAL" AS "Sal"
FROM "SCOTT"."EMP"
WHERE ("SCOTT"."EMP"."MGR" IN
(SELECT "__LLBLPP"."EMPNO" AS "Empno"
FROM "SCOTT"."EMP" "__LLBLPP"))
Will try the other setups / 5.10