• 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.

1)


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

or i have tried another way


3) Test.java


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.

Regards,
Manish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic