Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes Refcursor vs Pl-SQL Object types Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Refcursor vs Pl-SQL Object types" Watch "Refcursor vs Pl-SQL Object types" New topic
Author

Refcursor vs Pl-SQL Object types

Pankaj Kumarkk
Ranch Hand

Joined: Apr 17, 2011
Posts: 108
Hi,
I would like to know scenario where Refcursor should be preferred over PL-SQL objects as stored procedure return types.
I have been using PL-SQL objects till now. I have come to know that using refcursor, the stored procedure programming becomes very simple. I would like to know what are the pros/cons of using Refcursor in java.

In what scenario we should never use refcursor?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refcursor vs Pl-SQL Object types
 
Similar Threads
REFCURSOR in getCursor CallableStatement
Stroed Procedure&PL/SQL
getting the resultset of a stored procedure?
Problem using Callable Statement
stored procedure giving me sql error