Intermittent Error ORA-01461 With Long Columns

(Doc ID 370438.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


JDBC 10.1 application throws the following exception while working with UTF8 character set database even though inserted characters are less than the maximum size of the column.

java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms