AlexP wrote:Hello,
Please specify your ODAC and IDE versions, since this problem cannot be reproduced on the latest ODAC version 8.6.12.
We are using Odac 8.6.12 and Delphi XE2. Problem only exists when Session.Options.UseUnicode does not equal Session.Options.Direct. We are connecting to Oracle 11.2.0.3.0
Output of test program follows, I can provide test program if needed:
Code: Select all
DACProductName DACVersion: ODAC 8.6.12
============================================================
select
text||' 12345678#' a1,
length(text),
dump(text||' 12345678#') a1_dump
from odac_varchar_error
------------------------------------------------------------
OracleVersion: 11.2.0.3.0
Options.Direct: True
Options.UseUnicode: True
Fields[0]: "1234567890 1"
------------------------------------------------------------
------------------------------------------------------------
OracleVersion: 11.2.0.3.0
Options.Direct: True
Options.UseUnicode: False
Fields[0]: "1234567890 12345678#"
------------------------------------------------------------
------------------------------------------------------------
OracleVersion: 11.2.0.3.0
Options.Direct: False
Options.UseUnicode: True
Fields[0]: "1234567890 12345678#"
------------------------------------------------------------
------------------------------------------------------------
OracleVersion: 11.2.0.3.0
Options.Direct: False
Options.UseUnicode: False
Fields[0]: "1"
------------------------------------------------------------
Best Regards,
Andre