Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why am I getting an “ORA-01000: maximum open cursors exceeded” error, even though I closed all ResultSet, Statement, and Connection objects?

closed Error ResultSet
0
Posted

Why am I getting an “ORA-01000: maximum open cursors exceeded” error, even though I closed all ResultSet, Statement, and Connection objects?

0

This is an Oracle issue. According to Oracle’s documentation, dynamic cursors can remain open from run to run in a session and are not closeable when a procedure closes. To work around this issue, you can increase the number of open cursors allowed in the database or you can reset the connection pool (close and reopen database connections in the connection pool). To reset the connection pool, you can untarget and retarget the connection pool using the Administration Console. You can also use the reset() method through the JMX API or the RESET_POOL command on the WebLogic Server command line interface. See Programming WebLogic JDBC for more information.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123