PL/SQL (MOSC)

MOSC Banner

Do Ref Cursors need to be explicitly closed?

edited Sep 4, 2017 5:40AM in PL/SQL (MOSC) 4 commentsAnswered

Recently, du to some testing, the application has run out of cursors.  It appears to be located in a section of code that uses reference cursors that are never explicitly closed.  What is the best practice.. close the ref cursor after you are done with it or allow JDBC to close it?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center