This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes getCursor - where can you find info on this method. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "getCursor - where can you find info on this method." Watch "getCursor - where can you find info on this method." New topic
Author

getCursor - where can you find info on this method.

Rao Nadella
Greenhorn

Joined: Jan 19, 2001
Posts: 16

----------------------------------------------
Hello all,
I am trying to find any info on a method getCursor.
The environment I am
working on is VAJ/WebSphere3.02
I have tried to find info in JAVA SQL package and other
relevant places but came up with nothing.
Any help from you is appreciated, thank you.
Here is a segment of my code:
----------------------------
// call an
oracle stored procedure to get format elements (used by
// FormatEIF)

CallableStatement mStmt = conn.prepareCall
("{ call
cpeasy_fulfill.get_format_elements (?, ?) }");
mStmt.setLong (1, vendorId);

mStmt.registerOutParameter (2, OracleTypes.CURSOR);
mStmt.execute ();
ResultSet
elementRS = ((OracleCallableStatement)mStmt).getCursor (2);
-
--------------------------------------------
 
Consider Paul's rocket mass heater.
 
subject: getCursor - where can you find info on this method.