-1

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.

2

1 Answer 1

1

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")
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.