bug in TCRDBGrid - clob

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
albourgz
Posts: 160
Joined: Wed 06 May 2009 12:17
Location: belgium

bug in TCRDBGrid - clob

Post by albourgz » Wed 24 Jun 2015 12:29

Hi,

I have a table with a clob and a TCRDBGrid.
the clob holds a null character.
Using direct mode, unicode and unicode environment.

It is displayed in sql developer.
OraQuery1->Fields->Fields[1]->AsString holds the full string without the null character.
But when I edit the clob in a TCRDBGrid, everything after the null character seems "dropped" and not displayed.

Regards.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Re: bug in TCRDBGrid - clob

Post by bork » Fri 26 Jun 2015 10:44

Hello

Null terminator means the end of the string, so a string, that contains a null terminator, can be displayed incorrectly by any VCL controls. If you need to store big data with null terminators, we recommend to use the BLOB data type.

CRDBGrid is not supported for several years already. It is a FREE bonus, and we deploy it with our components in source code as is. If you have found any bugs in CRDBGrid, you can fix them by yourself.

Post Reply