Precompilers and OCI (MOSC)

MOSC Banner

ORA-01000: How to close all opened cursors?

Hi,

I have a large application with many database connections, which are opened each one in its own context. Each connection will be used by various services (internal c functions) may times. For example, a function A will use connection 1, after that function B will use the same connection and so on.

Recently the application has stated to log ORA-01000 messages. It seems, that some of the called services (internal functions) open but do not close already opened cursors. There are many services (>1000) which are also very complex (many SQL statements and cursors), so that I can't check each one.

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