CLOB: ORA-01461: can bind LONG value for insert into a LONG
SummaryThe user wants to insert json documents into external tables (Oracle 12c) using Clob support in Pega 7.2.1. It works for small documents < 4K but fails with ORA-01461 when larger documents > 4K are saved.
Error Messages** ORA-01461: can bind a LONG value only for insert into a LONG column"
Steps to ReproducePage-New Row
Call Save Row
Root CauseClob support was enhanced after 7.2.1 (in 7.2.2). The changes made to use the setClob() API with Clob columns for Oracle were back ported to 7.2.1.
ResolutionApply Hfix-30370Any Pega 7.2.1 user can install this hfix but the fix will only benefit Oracle users inserting large values into Clob columns.
Published November 12, 2016 - Updated November 22, 2016