Select CLOB data question..

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Team

Select CLOB data question..

Post by Team » Wed 26 Oct 2005 10:07

Orasession1 option
Net := True;
CharLength := 0;
Charset := '';
UseUnicode := True;

query : Select TestClob from testClobTable where Idx := '1'
(TestClob -> clob field)

SmartQuery1.Prepare;
SmartQuery1.Options.DeferredLobRead := False;
SmartQuery1.Options.CacheLobs := False;
SmartQuery1.Options.DeferredLobRead := True;
SmartQuery1.Execute;
SmartQuery1.GetLob('XML_ITEM_QUESTION').IsUnicode := True;
LobField1 := SmartQuery1.GetLob('XML_ITEM_QUESTION').AsString;
...
...

retrun data(LobField1) content:
#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 ....

why?

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Fri 28 Oct 2005 12:27

We have reproduced your problem and fixed it.
This fix will be included in the next ODAC build.

Team

Post by Team » Mon 21 Nov 2005 08:42

Hi.. Alex..

When will get next ODAC build version?

Have a good day~~
Alex wrote:We have reproduced your problem and fixed it.
This fix will be included in the next ODAC build.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Mon 21 Nov 2005 16:08

In about two weeks

Post Reply