FAQ
We are closing some cursors thru PLSQL scripts and thru JDBC as well. Every
time we run one script the cursors are not getting closed . Instead they are
shown as inactive in v$open_cursors table . Next time you run the same
transction in the same session it makes those cursors as active but adds
more rows into the open cursors table. So if execute the same script 10times
in a row I am exceeding the max limit of open cursors and eventually get a
message :java.sql.SQLException: ORA-01000: maximum open cursors exceeded .

Any idea how to over come this issue..

Cheers
RK

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Apps Sol
INET: apps_sol_at_hotmail.com

Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------

To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).

Search Discussions

  • Guy Hammond at Jul 11, 2001 at 4:30 pm
    You need to explicitly close JDBC statements.

    http://technet.us.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_47
    _

    This one got me too once :0)

    g

    -----Original Message-----
    Sent: Wednesday, July 11, 2001 4:07 PM
    To: Multiple recipients of list ORACLE-L

    We are closing some cursors thru PLSQL scripts and thru JDBC as well.
    Every
    time we run one script the cursors are not getting closed . Instead they
    are
    shown as inactive in v$open_cursors table . Next time you run the same
    transction in the same session it makes those cursors as active but adds
    more rows into the open cursors table. So if execute the same script
    10times
    in a row I am exceeding the max limit of open cursors and eventually get
    a
    message :java.sql.SQLException: ORA-01000: maximum open cursors exceeded
    .

    Any idea how to over come this issue..
    --
    Please see the official ORACLE-L FAQ: http://www.orafaq.com
    --
    Author: Guy Hammond
    INET: guy.hammond_at_avt.co.uk

    Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
    San Diego, California -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message

    to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
    the message BODY, include a line containing: UNSUB ORACLE-L
    (or the name of mailing list you want to be removed from). You may
    also send the HELP command for other information (like subscribing).

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
categoriesoracle
postedJul 11, '01 at 2:28p
activeJul 11, '01 at 4:30p
posts2
users2
websiteoracle.com

2 users in discussion

Guy Hammond: 1 post Apps Sol: 1 post

People

Translate

site design / logo © 2022 Grokbase