Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Help:Cursor limit exeeded

Help:Cursor limit exeeded

From: Ravi - Wijayaratne <raviw_at_cs.tamu.edu>
Date: 1997/12/04
Message-ID: <3487917F.BA46CA21@cs.tamu.edu>#1/1

Hi ,

We are using Java to access the Oracle database.

We are getting the followin Error message

ErrorORA-01000: maximum open cursors exceeded

We close the result sets and the statements after each query. The database does not contain many records . Just 5-6 records. When we run a querty continuosly for about 50 times using

Statement stmt = conn.createStatement();

 rset = stmt.executeQuery("select * from Groups where Group_name" +"=" +"'" + xG
roup_name.getName() + "'");

we get the above error.
We do the following after executing the loop

rset.close();
stmt.close();

Can some one please help us ?

Thanks
Ravi Received on Thu Dec 04 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US