Oracle stored procedures do not accept the same ordinal parameter values

Description

The OracleStoredProcedureTest#testNamedNativeQueryStoredProcedureRefCursor test fails because we longer support the JPA ordinal parameters to start from 1:

Considering the following stored procedure:

This test used to work just fine:

According to JPA specification:

If we change the index from 1 to 0 it works, since this is the legacy numbering used by Hibernate.

Environment

None

Activity

Show:
Gail Badner
June 28, 2016, 7:18 PM

, which version(s) does this affect?

Vlad Mihalcea
June 28, 2016, 7:47 PM

It only affects 5.2.0. It was working fine in 5.1.0. I haven't tested it in 5.0.0.

Assignee

Unassigned

Reporter

Vlad Mihalcea

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure