File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Refresh Cursor in Stored proc Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Refresh Cursor in Stored proc Oracle" Watch "Refresh Cursor in Stored proc Oracle" New topic
Author

Refresh Cursor in Stored proc Oracle

fahad siddiqui
Ranch Hand

Joined: Jun 14, 2006
Posts: 85
I have a stored procedure in which i define a cursor in the start like so:


After this, i iterate the loop and upon some conditions, i change the ACTIVE_STATUS and ERROR_FLAG to different values. Upon such an updation, that record should get erased from my cursor.
Hence, after the loop completes, i want to refresh my cursor, so that all such records which i updated during the loop, should now not be present in the cursor anymore.

Please advise urgently. I am using Oracle 8i.
Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refresh Cursor in Stored proc Oracle
 
Similar Threads
Wait Thread ??
how to return ref cursor arrays from stored procedure?
Problems in fetching ref cursor.
pl sql related problem
How to map returned cursor to a POJO / Bean in Hibernate?