Hi,
I am new to Hibernate.
I have an application where stored procedure needs to be called from Hibernate 3 using
NamedQuery as given below. I am using oracle as DB. my stored procedure Name is: 'storedprocedure_test'
My question:
1. I am getting error as:
but, when i run that Stored procedure in DB, i am getting proper result.
Can anyone please help me how to execute the NamedQuery ?
my stored procedure is having two input parameters and two output parameters
Any one please help. I searched a lot in google but, no luck.
I'm sure there are lots of resources on Google about calling store proc in Hibernate. Below is one for MySQL. The idea is the same for any other DB.
Hibernate calling MySQL store proc