How to Release Temporary LOB Segments without Closing the JDBC Connection
(Doc ID 1384829.1)
Last updated on AUGUST 09, 2023
Applies to:Oracle Database Cloud Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
JDBC - Version 126.96.36.199.0 and later
Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.2]
Oracle Database - Standard Edition - Version 220.127.116.11 to 18.104.22.168 [Release 11.2]
Information in this document applies to any platform.
This JDBC code sample demonstrates how LOB resources can be released without having to close the JDBC connection.
This code sample implements the recommendation found in <Document:802897.1> How to Release the Temp LOB Space and Avoid Hitting ORA-1652.
As JDBC programs query LOB expressions, the database will allocate LOB resources. Excessive LOB resources may lead to the PGA memory issues and ORA-1652 errors
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