Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

calling of stored procedure with out parater in hibernate?

Manish Shinde
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

i m facing some problem while calling simple oracle stored procedure from hibernate.

Following is the procedure & code.


2)test.hbm.xml (here i m calling procedure)

or i have tried another way


here my procedure is getting called but it is giving pl/sql error : wrong number or types of arguments in call to 'GETSUM'
i tested this procedure on oracle editor it is working fine but while running from the hibernate it is giving error .

what am i missing?

Thanks In Advance.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!