This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes How to set out paramet of store procedure in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to set out paramet of store procedure in hibernate" Watch "How to set out paramet of store procedure in hibernate" New topic
Author

How to set out paramet of store procedure in hibernate

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi List[],
I have the following syntax of store procedure PROC_PARTCHECK('55555','66666',:V_RETVAL,:V_EMP);
where :V_RETVAL and V_EMP is out parameter

How can i set the out parameter in hibernate .I did in hbm files like this



Please tell me is this the correct way to set the out parameter in hibernate

Thanks
 
Consider Paul's rocket mass heater.
 
subject: How to set out paramet of store procedure in hibernate
 
Similar Threads
How to access Stored Procedure
Does hibernate support Stored Procedure out parameters?
Calling stored procedures
Hibernate; error executing stored procedure
Stored proc insert/update/del in hibernate?