Insert and Update CLOB fields over 4000 characters
Posted: Tue 13 Jul 2010 10:12
When inserting/updating CLOB fields with a size over 4000, field value is set to null.
Environment:
Delphi 7
dbexpoda.dll: Version 4.50.0.21
Oracle: Version 9i and 10 (XE)
Test cases:
CREATE TABLE TEST (CLOBFIELD CLOB)
INSERT INTO TEST (CLOBFIELD) VALUES ()
Result: No data is stored
UPDATE TEST SET CLOBFIELD=
Result: Data deleted (CLOBFIELD=null)
I am also using .NET driver and it works!
Regards,
dvd
Environment:
Delphi 7
dbexpoda.dll: Version 4.50.0.21
Oracle: Version 9i and 10 (XE)
Test cases:
CREATE TABLE TEST (CLOBFIELD CLOB)
INSERT INTO TEST (CLOBFIELD) VALUES ()
Result: No data is stored
UPDATE TEST SET CLOBFIELD=
Result: Data deleted (CLOBFIELD=null)
I am also using .NET driver and it works!
Regards,
dvd