1

I am using ODAC library version 8.6.12 to connect to oracle with Delphi 6, I have a nvarchar(32) column as you can see it has a maximum of 32 characters and lets say that I always use 32 character values, e.g. "123456789-123456789-123456789-12"

The issue appears some times on customers PC that the result will be truncated to 16 characters, so the next code will show me a message with 16 characters "123456789-123456":

var MyID: string;
begin 
  MyID:= OraQuery.Field[0].AsString;//value must be "123456789-123456789-123456789-12"
  // -->> MyID = "123456789-123456"  only 16 characters 

Why I am having this issue? Does that depends on the Oracle version?

This is strange because the code used to work on the old ODAC, only on new ODAC 8.6.12 on some computers it doesn't work -on my computer it works fine-!

4

1 に答える 1

0

この問題は既に修正済みです。この修正は、翌月の初めにリリースされる ODAC の次のバージョンに含まれます。

于 2013-06-14T08:54:11.017 に答える