aspose file tools*
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);
-
--------------------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getCursor - where can you find info on this method.
 
Similar Threads
JDialog Question
Problems in fetching ref cursor.
REFCURSOR in getCursor CallableStatement
S2: Actions are not Servlet
Need help with callableStatement()