• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help needed for executing Sybase stored procedure using Hibernate  RSS feed

 
Yaman Kalyani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need some help on stored procedure. I am getting exception on this. Someone plsease help.

I have a simple stored procedure in sybase which returns a sequence number.

The arguments for the procedure are Name of type string and Count of type integer.

The underlying table has Columns String and SeqNo. What the procedure does is, increment SeqNo by the specified count for a given Name.





My mapping file looks like this




My class looks like



My Main looks like this.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!