Reputation: 31815
What are the possible complications and repercussions if you do not close cursors for your Oracle database?
Upvotes: 2
Views: 705
Reputation: 231821
Since your developers are complaining about the performance hit of repeatedly re-opening cursors, the proper solution in the database would be to close them in your code but set the session_cached_cursors parameter so that the database maintained a cache of the session's recently used cursors. Having them not close their cursors is going to cause the ORA-01000
error that you're seeing and will waste other server resources.
Upvotes: 4