StoredProcedureQuery with OUT param fails with Oracle when using named parameters

Description

Have also seen a variant exception (from Oracle code):

java.sql.SQLException: operation not allowed: Ordinal binding and Named binding cannot be combined!

Simple stored procedure with a single input and single output parameter:

create or replace PROCEDURE TEST_PROC(param1 CHAR, retval OUT INTEGER) AS BEGIN retval:=1; END TEST_PROC;

Seems to have been introduced in 5.0.8.

Environment

Oracle

Assignee

Gail Badner

Reporter

Stephen Fikes

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure