Am new to hibernate. Am trying to call a oracle stored procedure through Hibernate. Can I get some steps to follow to call a procedure through Hibernate.
Thanks in advance.
Am new to hibernate. Am trying to call a oracle stored procedure through Hibernate. Can I get some steps to follow to call a procedure through Hibernate.
Thanks in advance.
Starting from JPA 2.1 You can use @NamedStoredProcedureQuery
annotation. This annotation can be specified on an entity or mapped superclass
@NamedStoredProcedureQuery(name="fooStoredProcedure", procedureName="someProcedureName")