• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getCursor - where can you find info on this method.

 
Rao Nadella
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

----------------------------------------------
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);
-
--------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic