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

后端 未结 13 1427
鱼传尺愫
鱼传尺愫 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:00

    I had this problem with my datasource in WildFly and Tomcat, connecting to a Oracle 10g.

    I found that under certain conditions the statement wasn't closed even when the statement.close() was invoked. The problem was with the Oracle Driver we were using: ojdbc7.jar. This driver is intended for Oracle 12c and 11g, and it seems has some issues when is used with Oracle 10g, so I downgrade to ojdbc5.jar and now everything is running fine.

提交回复
热议问题