Getting ORA-2049 While Inserting Into CLOB Column Using Oracle 188.8.131.52 JDBC Driver After Database Upgrade From 10.2.0.4 to 184.108.40.206 And Conversion of VARCHAR(4000) to CLOB Columns
(Doc ID 1564702.1)
Last updated on SEPTEMBER 01, 2014
Applies to:JDBC - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Inserts into CLOB column from a Weblogic 10.3.1 application using JDBC 18.104.22.168 with an Oracle Database 22.214.171.124 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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document