File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Calling Stored Procedure using hibernate 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 » Object Relational Mapping
Bookmark "Calling Stored Procedure using hibernate" Watch "Calling Stored Procedure using hibernate" New topic

Calling Stored Procedure using hibernate

Gopi Kiran Manusani

Joined: Nov 02, 2009
Posts: 9
I am trying to call Stored Procedure, below is my mapping for stored procedure

I am getting following error when i try to call from DAO, Can some one help me where exactly i am doing wrong?
Caused by: Incorrect syntax near '{'.
I agree. Here's the link:
subject: Calling Stored Procedure using hibernate
Similar Threads
Problem with Sybase stored proc in hibernate
Bind Variable Doesnot exists
implementing stored procedures in hibernate
Stored Procedure - Can use unmapped class for result?
Facing the problem while reterving the resultsets in java from named query function in hibernate