Question: I'm using the Oracle 11g with
Java and when I try the insert into a clob column appears this
ORA-01461 error
ORA-01461 can bind a LONG value only
for insert into a LONG column
Answer: While some suggest adding
: "oracle.jdbc.RetainV9LongBindBehavior=true" in server
properties for the datasource, but this did not work.
In my java code I send to oracle just a simple String to
Oracle convert to Clob. Now I am sending direct a clob using
the function oracle.sql.Clob and the ORA-01461 error
disappeared.