ORA-01461 From JDBC Client When Inserting Into VARCHAR2(4000) Column
Last updated on MARCH 08, 2017
Applies to:JDBC - Version 10.2.0.1 and later
Information in this document applies to any platform.
Having a database column defined as VARCHAR2(4000) in a table and trying to insert a character string which was 3983 characters using JDBC fails with a runtime error as follows in an Oracle Database with the character set AL32UTF8:
The same test case using a database with a character set as WE8ISO8859P1 works fine without any issue.
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