Return REFCURSOR on native named query: regression on 4.2.0 CR1

Description

After upgrade from 4.1.9 to 4.2.0.CR1 this native query shows an ORA-:

Code of the native named query:

The first ? is the REFCURSOR that returns the database store procedure.

Environment

Databas: Oracle 11g
Hibernate: 4.2.0.CR1

Status

Assignee

Lukasz Antoniak

Reporter

Marcial Atiénzar Navarro

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