A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Passing PL/SQL table from Stored Proc to Java
Joined: Sep 08, 2004
Aug 07, 2007 23:24:00
MY scenario is something like this:
I have to call a packaged PL/SQL proc from my Java program. The procedure should set a table of varchar as out parameter, which I can pick up in my Java program.
This is the definition of the table type: type STR_ARRAY is table of varchar2(1000);
I know how to pass a
array from Java to PL/SQL (by creating descriptor for the array) but I am not able to understand, how to do this in my Java program.
Any links, any suggestions, any examples would be great help.
I agree. Here's the link:
- it saves me about five hours per week
subject: Passing PL/SQL table from Stored Proc to Java
Passing java arrays to PL/SQL and vice versa
copying file into database
asynchronous pl/sql call from JSP
How to pass BLOB to a PL/SQL Stored Procedure
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013