Llamar a una Función de PostgresSQL desde JPA

StoredProcedureQuery query = entityManager     .createStoredProcedureQuery(“post_comments”)     .registerStoredProcedureParameter(1,         void.class, ParameterMode.REF_CURSOR)     .registerStoredProcedureParameter(2,         Long.class, ParameterMode.IN)     .setParameter(2, 1L); List<Object[]> postComments […]

Read More →