• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help needed for executing Sybase stored procedure using Hibernate

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic