ODAC 8.6.12 is truncating data
Posted: Thu 13 Jun 2013 19:09
Hello,
I am using ODAC library version 8.6.12 to connect to oracle with Delphi 6, I have a nvarchar(32) column in Oracle table and as you can see it has a maximum of 32 characters so let's say I have a value in this field like
"123456789-123456789-123456789-12"
The issue appears on some customers PCs where the result will be truncated to 16 characters, so the following code will return a string with 16 characters "123456789-123456":
This is strange because the code used to work using the old ODAC (6.1.0) on all computers, only using the new ODAC 8.6.12 on some customer computers it doesn't work -on my computer it works fine-!
Questions:
1. Why am I having this issue?
2. I think that there is a bug fix in ODAC 9.0 does that fix my issue?
3. is this issue related to windows 7?
Thank you.
I am using ODAC library version 8.6.12 to connect to oracle with Delphi 6, I have a nvarchar(32) column in Oracle table and as you can see it has a maximum of 32 characters so let's say I have a value in this field like
"123456789-123456789-123456789-12"
The issue appears on some customers PCs where the result will be truncated to 16 characters, so the following code will return a string with 16 characters "123456789-123456":
Code: Select all
var MyID: string;
begin
MyID:= OraQuery.Field[0].AsString;
//MyID must be "123456789-123456789-123456789-12"
// -->>but the result is MyID = "123456789-123456" only 16 characters
end;
Questions:
1. Why am I having this issue?
2. I think that there is a bug fix in ODAC 9.0 does that fix my issue?
3. is this issue related to windows 7?
Thank you.