bug in direct mode, select 1 as "durée" from dual fails if UseUnicode is true
Posted: Fri 17 Apr 2015 16:13
Hi,
Using C++ builder XE6, odac 9.5.15, oracle 11.2.0.3.12 EE.
I encounter a bug. To reproduce: drop a TOraSession on a form, change options: UseUnicode=true, and connect it direct mode to the database.
Then drop a TOraQuery with the following text as query:
=> Try to open query: fails.
However, it works in non-direct mode.
Also: works in direct mode.
also works in direct mode.
So when UseUnicode is true, and a select ... as "xxx" is used, it fails if xxx holds a string holding an accentuated character and no space.
Using C++ builder XE6, odac 9.5.15, oracle 11.2.0.3.12 EE.
I encounter a bug. To reproduce: drop a TOraSession on a form, change options: UseUnicode=true, and connect it direct mode to the database.
Then drop a TOraQuery with the following text as query:
Code: Select all
SELECT 1 as "durée" FROM DUALHowever, it works in non-direct mode.
Also:
Code: Select all
SELECT 1 as "durée de temps" FROM DUALCode: Select all
SELECT 1 as "duree" FROM DUALSo when UseUnicode is true, and a select ... as "xxx" is used, it fails if xxx holds a string holding an accentuated character and no space.