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.