This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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 '{'.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling Stored Procedure using hibernate
 
Similar Threads
Stored Procedure - Can use unmapped class for result?
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