Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Stored procedures that return multiple rows

RE: Stored procedures that return multiple rows

From: Orr, Steve <sorr_at_rightnow.com>
Date: Thu, 23 Aug 2001 13:27:07 -0700
Message-ID: <F001.00376047.20010823132219@fatcity.com>

On my previous gig all DB access was via stored procedures returning ref cursors through JDBC. The Java dweebs could do just about anything with the ref cursor. It worked really well. I could actually tune SQL queries on the running production application without any recompilation. Nice seperation of code. The DBA can tune real SQL code and the developers won't even know. No embedded SQL. Yeah!!
 

OCI can also accommodate ref cursors.

 

Steve Orr
 

  <FONT
  face=Tahoma>-----Original Message-----From: Paul Baumgartel   [mailto:pbaumgartel_at_mortgagesight.com]Sent: Thursday, August 23,   2001 2:11 PMTo: Multiple recipients of list   ORACLE-LSubject: Stored procedures that return multiple   rows
  We're considering a
  mandate that all database access be via stored procedures (probably in   packages).  These would be called either via OCCI (the C++ call   interface) or JDBC.  My question is whether anyone's had experience   in returning a result set from a PL/SQL procedure under   these circumstances, and how it was implemented:  did you   return a ref cursor, an index-by table, a set of arrays....?  Any advice   will be appreciated.  Thanks!
   
  Paul Baumgartel MortgageSight
  Holdings, LLC pbaumgartel_at_mortgagesight.com   

  <BLOCKQUOTE dir=ltr
style="MARGIN-RIGHT: 0px">  Received on Thu Aug 23 2001 - 15:27:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US