Getting ORA-2049 While Inserting Into CLOB Column Using Oracle 220.127.116.11 JDBC Driver After Database Upgrade From 10.2.0.4 to 18.104.22.168 And Conversion of VARCHAR(4000) to CLOB Columns
(Doc ID 1564702.1)
Last updated on SEPTEMBER 08, 2019
Applies to:JDBC - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Inserts into CLOB column from a Weblogic 10.3.1 application using JDBC 126.96.36.199 with an Oracle Database 188.8.131.52 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