java.sql.SQLException: - ORA-01000: maximum open cursors exceeded

后端 未结 13 1630
鱼传尺愫
鱼传尺愫 2020-11-22 08:36

I am getting an ORA-01000 SQL exception. So I have some queries related to it.

  1. Are maximum open cursors exactly related to number of JDBC connections, or are t
13条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 09:10

    I faced the same issue because I was querying db for more than 1000 iterations. I have used try and finally in my code. But was still getting error.

    To solve this I just logged into oracle db and ran below query:

    ALTER SYSTEM SET open_cursors = 8000 SCOPE=BOTH;

    And this solved my problem immediately.

提交回复
热议问题