title: Ways to invoke an oracle function (not a stored procedure) with Spring
body: <p>I need to invoke a function in Oracle with Spring and JPA, I have read many answers that talk about how to invoke a stored procedure but I need to invoke a function, if possible don't use @Query</p>
  <pre><code>@Query(nativeQuery = true, value = &quot;SELECT TARC_FTVESHABIL(:date) FROM dual&quot;)
  Timestamp esDiaHabil(@Param(&quot;date&quot;) String date);
  /*it works but I want to avoid using @Query*/
  </code></pre>