Once again, all open Statements have to be closed after they are used. I'm
also in the habit of explicitly closing the ResultSet.
Connection con;
Statement stmt;
ResultSet rs;
.
.
.
stmt = con.createStatement();
rs = stmt.executeQuery("query string");
.
.
.
rs.close();
stmt.close();
-Eric
At 04:54 PM 4/21/99 +0530, you wrote:
>In one of our program we are opening 3 ResultSet(cursors) at a given point
>of time.
>The queries are retreving records from the database.If there are many
>records retreived we are getting the foll error.
>
>java.sql.SQLException: ORA-01000: maximum open cursors exceeded
>We have Oracle 8.0.5 as our database.
>The maximum OPEN_CURSORS set in init(DBinstance).ora is 120 still we are
>getting the error.
>Please help me.
>Thanks in advance
>Nimesh
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html