Last updated on APRIL 04, 2017
Applies to:JDBC - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
On : 188.8.131.52.0 version, Thin JDBC driver
When using a java.sql.ResultSet .insertRow() or .updateRow() to insert or update a table that does not have a LONG datatype, the following error is received:
ORA-01461: can bind a LONG value only for insert into a LONG column.
The table used for this has the next description:
Each field of the ResultSet is set using ResultSet.updateString for the VARCHAR2 and CHAR fields, or ResultSet.updateDate for the Date field.
The error is thrown when executing ResultSet.insertRow().
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms