How do you pass a ResultSet as an input parameter to a CallableStatement?
From: Chris (Christopher.Prior_at_justice.govt.nz)
Date: 02/13/04
- Previous message: Ken North: "Cattell, Florescu, Gray, Melton to discuss marriage of XML, SQL, web services, grid computing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Feb 2004 14:58:32 -0800
Hi All,
With the latest Oracle JDBC drivers (9.2.0.3) is it possible to set an
INPUT parameter in a SP that is a ref_cursor to a ResultSet?
I tried the following but it comes back with a SQLException saying
"unsupported feature".
callableStatementCOLC.setCursor(2, rs); // where rs =
java.sql.ResultSet
I can see in the JAVADOC from Oracle that setCursor (in
OraclePreparedStatement) has been Deprecated but what's the
replacement functionality?
Many thanks in advance, your help is much appreciated!
Chris
- Previous message: Ken North: "Cattell, Florescu, Gray, Melton to discuss marriage of XML, SQL, web services, grid computing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|