Oracle - error "value is too long" assigning huge string to clob parameter
Posted: Tue 15 Feb 2022 09:40
I'm using Unidac 9.1.1 Delphi 10.2, recently ugraded from 8.3.2.
I have following error using Oracle DB:
Parameter 'MYPARAM': value is too long
assigning an huge string to CLOB param e.g.:
MyUniQuery.Param('MYPARAM').AsString := 'myhugestring...';
Data type of MYPARAM is not defined. If i define it as "OraClob" it works
In version 8.3.2 it was not necessary to define Data Type. Defining it as OraClob i introduce a DB dependency.
I have following error using Oracle DB:
Parameter 'MYPARAM': value is too long
assigning an huge string to CLOB param e.g.:
MyUniQuery.Param('MYPARAM').AsString := 'myhugestring...';
Data type of MYPARAM is not defined. If i define it as "OraClob" it works
In version 8.3.2 it was not necessary to define Data Type. Defining it as OraClob i introduce a DB dependency.