title: Is StoredProcedureQuery meant for calling Oracle functions with?
body: <p>Hello I'm using Eclipselink 2.5.1</p>
  
  <p>I'm wondering, is it possible to call Oracle Pl/Sql <em>functions</em> using <code>javax.persistence.StoredProcedureQuery</code>?</p>
  
  <p>I tried doing so but get the error <code>PLS-00221: 'function_name' is not a procedure or is undefined</code>.</p>
  
  <p>If not, what would be the correct way of calling a function if I want to stick to the JPA standard? There is no type <code>StoredFunctionQuery</code>. Would I have to do a <code>select</code> statement in a query?</p>