Did you set callable = true (on Hibernate Specific query annotations)?
This is only possible in the last release of Hibernate Annotations
I am new to EJB 3.0 and Hibernate and i am using Hibernate-Annotation 3.1 beta3 version.
let me know where can I get the examples(on stored procedure) and latest version of Hibernate Annotation?
Thanks in advance
There is not example yet. You'll have to dig a bit by yourself. See the way it's described in hbm files and use @o.h.a.NamedNativeQuery and @SqlResultsetMapping to mimic it