Hibernate does not seem to differentiate between a procedure call and a function call. I have a function that has one IN param and one OUT param. If I register both it errors out saying incorrect type or number of parameters.
If I don't register the OUT param, it says that this is not a stored procedure.
The API says that ProcedureCall can be used for calling stored procedures and functions.
Hibernate-4.3.10, Spring-4.1.6, Oracle-10g