Link to home
Start Free TrialLog in
Avatar of chocobogo
chocobogo

asked on

ORA-01000 maximum open cursors exceeded

I have written a large java program that inserts & Queries an Oracle database frequently.

I have started to notice I am getting the above mentioned error:
ORA-01000 maximum open cursors exceeded

I was wondering what would cause this (Code -wise) e.g. not closing statements ??

Thanks for any help
SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chocobogo
chocobogo

ASKER

Cheers, I expected as much...

Where else should I look if I still get this error after closing all the statements & resultSets ?
hmm...i dont know if you have a global connection or  you open/close connections...but be sure to close connections as well, when ur done using them
>>use the .close on your recordsets...that should fix it

Closing Statements automatically closes ResultSets. Check connections as well