*
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
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