I am trying to run oracle procedure/Function using Hibernate 3. I want to catch error raised by oracle procedure/Function and display error message to user.
By using this code I can able to run only procedures and If any error occured in procedure my control is going to SQLException block. I want to check the error message.
Please check this code and let me know is this correct way to call procedure??
Please share document related to calling procedure from hibernate.