title: Call Oracle Stored Procedure Using createNativeQuery
body: <p>I need to call a stored procedure using JPA and found this article:</p>
  
  <p><a href="http://www.oracle.com/technology/pub/articles/vasiliev-jpql.html" rel="noreferrer">http://www.oracle.com/technology/pub/articles/vasiliev-jpql.html</a></p>
  
  <p>which explains how to use EntityManager.createNativeQuery.  However, the example actually calls a function that has a return argument.  I've tried searching for an example of calling a stored procedure that doesn't have a return, but haven't been able to find anything.  </p>
  
  <p>Can I use createNativeQuery to call a procedure?  Or does the procedure need to be modified to be a function (perhaps returns a success/failure result)?</p>
  
  <p>Thanks!</p>