This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed for executing Sybase stored procedure using Hibernate

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic