title: Is it possible to call a stored function via JPA (JAVA)?
body: <p>As far I know, it is impossible to call a <strong>stored procedure</strong> written in <code>mysql</code> with <code>JPA</code> but what is with common functions (mysql)? </p>
  
  <p>How can I call a stored mysql function with usage of JPA?</p>
  
  <p>Maybe with the <code>EntityManager</code> method <code>createNativeQuery</code>? </p>
  
  <p>(Try to make an example)</p>