I have an Oracle function which return sys-refcursor and when I call this function using Hibernate, I am getting the following exception.
Hibernate: { ? = ca
The previous solution doesn´t seem to work with eclipselink. I got this running with native queries under JPA with
List result = em.createNativeQuery("select YOURFUNCTION(?) from dual ") .setParameter(1, ONEPARAMETER) .getResultList();