wood burning stoves 2.0*
The moose likes JDBC and the fly likes Oracle 8I Java Stored Procedures returning a result Set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle 8I Java Stored Procedures returning a result Set" Watch "Oracle 8I Java Stored Procedures returning a result Set" New topic
Author

Oracle 8I Java Stored Procedures returning a result Set

John Ryan
Ranch Hand

Joined: Mar 14, 2001
Posts: 124
Hi,
Does anyone know if it is possible to write a Java Stored Procedure in Oracle 8i to return a Result Set. I have read that this is not possible in 8i as does not have any Data Type in the Oracle.sql package to map to a REF CUROSR.
My understanding is that the oracle.sql package provides wrappers for the SQL Data types.
Seemingly this is possible in Oracle 9i but i havent be able to find out how....
Any help would be appreciated,
Thanks,
John
John Ryan
Ranch Hand

Joined: Mar 14, 2001
Posts: 124
Well i found an answer to my own question so i might as well share it with you all.
Seems that this cannot be be done in 8i. See this link
Java Developer Connection
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Oracle 8I Java Stored Procedures returning a result Set
 
Similar Threads
getting ResultSet from Java Stored Procedure
Stored Procedure Exceptions in Oracle 8i
PL/SQL query vs Stored Procs in JDBC
Oracle imports
Passing in array parameter to an Oracle stored procedure