File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Handling Cursors in JDBC programming
Joined: Apr 12, 2004
Jun 28, 2005 00:01:00
Assume, my Stored procedure returns 10 values of same type.If i din't keep that as array, i can use the cursor otherwise. If it is the case, how to handle the cursor which has values of same type in my java-jdbc programming?
Thanks in advance.
Joined: Aug 13, 2004
Jun 28, 2005 01:27:00
Register your out paramter as cursor, execute the procedure then typecast your output cursor to resultset and use onwards
Gravitation cannot be held responsible for people falling in love ~
I agree. Here's the link:
subject: Handling Cursors in JDBC programming
Error in row
Connections that won't close
what is difference between JDBC1 and JDBC2 ?
Invalid Cursor State Error...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015