Announcement Announcement Module
Collapse
No announcement yet.
Calling stored function in JPA Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling stored function in JPA

    Hello,

    How can you call stored procedures through JPA (Hibernate)? I tried

    Code:
    Query query = entityManager.createNativeQuery("{ call ? := packagename.functionname(?,?,?) }");
    and four setParameter calls but it resulted in "Not all named parameters have been set". How is the out parameter set? I didn't see any setOutParameter in the API...
Working...
X