Getting ORA-2049 While Inserting Into CLOB Column Using Oracle 184.108.40.206 JDBC Driver After Database Upgrade From 10.2.0.4 to 220.127.116.11 And Conversion of VARCHAR(4000) to CLOB Columns
Last updated on SEPTEMBER 01, 2014
Applies to:JDBC - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
Inserts into CLOB column from a Weblogic 10.3.1 application using JDBC 22.214.171.124 with an Oracle Database 126.96.36.199 are very slow causing locking problem (blocking locks) and ultimately throwing error:
java.sql.SQLSyntaxErrorException: ORA-02049: timeout: distributed transaction waiting for lock...
Once it gets slow, any insert into any table having a CLOB column is extremely slow. The slowness does not go away even if the application or the database is restarted.
The issue is not encountered on 10g 10.2.0.4 database or when using varchar2(4000) instead of CLOB.
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