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

Home -> Community -> Usenet -> c.d.o.server -> Re: Create ResultSet "from scratch" in Oracle Java Stored Procedure?

Re: Create ResultSet "from scratch" in Oracle Java Stored Procedure?

From: Pratap <pratap_fin_at_rediffmail.com>
Date: 1 Sep 2004 21:28:36 -0700
Message-ID: <830861d2.0409012028.703a072e@posting.google.com>


I assume that your Java procedure is working on some huge data in the database, and then generating a set of rows that you want to pass on to PL/SQL.
From Java you can batch insert the data in a temporary table. PL/SQL can then read this table. The insert overhead in the temporary table will be very less.

If you are using Oracle 9i you may use pipelined functions can also be used as they they can be written in Java. But I don't know much about Java.

Pratap Received on Wed Sep 01 2004 - 23:28:36 CDT

Original text of this message

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