Thanks, tom
Achille, October 29, 2006 - 7:40 pm UTC
Simple, elegant, and flawless -- Thanks again!
A question on that
A reader, October 29, 2006 - 8:44 pm UTC
Does that allow for one to bind incoming AND outgoing parameters at the same time?
I was unable to do them both, ie something like this:
String query = "begin insert into test (name) values (?) returning id into :x; end;";
OracleCallableStatement cs = (OracleCallableStatement) conn.prepareCall(query);
cs.registerOutParameter(2, OracleTypes.NUMBER );
cs.setString(1,"test entry");
That seems to fail no matter what parmeters I place.
10.2 JDBC drivers support DML returning
laatikko, October 30, 2006 - 4:23 am UTC
Oracle® Database JDBC Developer's Guide and Reference
10g Release 2 (10.2)
Chapter 5 "Oracle extensions"
Alberto Dell'Era, October 30, 2006 - 4:31 am UTC