Hi All,

 I am trying call  Oracle PL/SQL function which returns a rowset of
Database table as result.

I am calling that funcition as follows :
  CallableStatement cstmt = conn.prepareCall(
        "{? = call Pck_return_all.fn_ret_acc (?,?,?)}");

And registering parameters as :
 cstmt.registerOutParameter(2, java.sql.Types.NUMERIC);
 cstmt.registerOutParameter(3, java.sql.Types.NUMERIC);
 cstmt.registerOutParameter(4, java.sql.Types.NUMERIC);

But I do not know how to register first parameter which is the rowset as
mentioned above.

For doing this I created an object in Database which is equivalent to the
rowset of table. And with
Jpublisher wizard I crated .sqlj and .java files of it.

Could you please help me for registering the first parameter and getting
the resultant columns ?

Thanks.
Ilhan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to