Oracle Client, stored procedures and Cursor release.

From: bclegg (bclegg_at_adriley.co.nz)
Date: 06/02/04


Date: Wed, 02 Jun 2004 16:58:39 +1200

Hi,
Does anybody know if it possible to force Oracle to release cursors that
have been generated when servicing a vb.net stored procedure call?
ie My app makes a call that populates a field in a datagrid row
This means the number of calls depends on the amount data in the grid.
The cursors are left open by Oracle and Oracle creates a new cursor for
each call, so it does take more than a few grid refreshes before you hit
ORA-1000 'Too many cursors'
Is there a way of forcing oracle to reuse the cursors.
I am asking this question here because I am expecting that this would be
provided by the Oracle Client rather than having to alter a parameter in
the database directly.
thanks
Bob



Relevant Pages

  • Re: Oracle scheme
    ... > rbscheer@my-deja.com (Robert Scheer) wrote in message ... > found that Oledb does not support Oracle cursors. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Oracle and PHP with Cursors
    ... we are using Oracle and PHP for a Web application. ... We are using ref cursors to return data from oracle ... every row is request with one call to oracle. ...
    (comp.databases.oracle.misc)
  • Re: Oracle cursor help
    ... DELETE/WHERE clauses consume too many resources. ... I can also limit the row set up front with a pretty simple WHERE clause -- whatever is more efficient is what I'm aiming for (it wasn't clear to me if limiting up front with WHERE clauses defeated the efficiency of cursors ...) ... Can you work with the parallel options (Oracle Enterprise Edition)? ...
    (perl.dbi.users)
  • Re: Max Cursor error using Oracle
    ... adapter and increasing the OPEN_CURSORS variable to a higher number ... When too many cursors are opened, I receive the max cursor error. ... We are currently using .NET 1.1 and Oracle 9. ... Are you using the Oracle .Net driver, or the one built into VS? ...
    (microsoft.public.dotnet.languages.vb)