org.hibernate.procedure.ProcedureCall does not work with function

Description

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.

Environment

Hibernate-4.3.10, Spring-4.1.6, Oracle-10g

Status

Assignee

Unassigned

Reporter

Ashish Gokhale

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.10

Priority

Major