title: Register stored procedure out parameters using javax.persistence.EntityManager
body: <p>I am using EntityManager for database operations. I want to execute stored procedure using this EntityManager. I am using below code to execute the procedure but don't know how to <strong>register for In/Out parameters</strong>.</p>
  
  <pre><code>        Query query = appsEntityManager.createNativeQuery("{call test(?,?,?)}");
          query.setParameter(1, "");
          query.setParameter(2, "");
          query.setParameter(3, "");
          query.getResultList();
  </code></pre>
  
  <p>Please help to solve this.
  Is theren't any way to achieve this problem?</p>