Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.3.1.GA
Name and version of the database you are using:
Oracle 9i
Does anyone have a method to deal with cases where Ref Cursor is the last parameter? For example:
PROCEDURE GetUserAccountSP ( p_userId IN VARCHAR2,
cur_ACCOUNTS OUT T_CURSOR)
IS
BEGIN
OPEN cur_ACCOUNTS FOR
SELECT * FROM ACCOUNTS
WHERE user_id = p_userId;
END GetUserAccountSP ;
I have quite a few of these stored procedure and am having some trouble with the hibernate mapping since the first parameter in the mapping
{ call MYPKG.GetUserAccountSP (?, :userId) }
is reserved as an output parameter which will not work for me. If some one has a solution to this please let me know.
Thank you in advance
Read this:
http://hibernate.org/42.html