• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

open cursor error

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
we are facing the error :"MAX number of open cursors exceed 1000",
the solutions are close resultset , close statements ,close connection.
I think this error is because of resultsets only
but my pm don't agree with me.
but some can tell me why this error is ?
My assumption is right ?
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are using Oracle. In oracle you have limitation to open cursor. Ask your database administrator to increase the size of open cursor.

still you will get the error if the open cursors are exceeded(number which u have mentioned).
incoporate connection pooling mechanism to avoid such type of errors.
[ March 26, 2003: Message edited by: rajesh kumar jhaver ]
 
chandru
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but can u confrim this
in java implicit curosrs are opened only when resultset is getting called , in case of select queries , Not even in update and insert .
Statement have not at all relation with cursors
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic