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 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Calling Stored Procedure using hibernate" Watch "Calling Stored Procedure using hibernate" New topic
Author

Calling Stored Procedure using hibernate

Gopi Kiran Manusani
Greenhorn

Joined: Nov 02, 2009
Posts: 9
Hi,
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: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '{'.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Calling Stored Procedure using hibernate
 
Similar Threads
implementing stored procedures in hibernate
Facing the problem while reterving the resultsets in java from named query function in hibernate
Bind Variable Doesnot exists
Problem with Sybase stored proc in hibernate
Stored Procedure - Can use unmapped class for result?