Stored procedure execution fails to find column

Description

A stored procedure execution working on 5.0.7 fails to work on 5.1.

Our entity class is defined as follows:

The stored procedure is defined as follows:

On 5.1 we get the following exception trying to execute the procedure.

Steps to reproduce:

Environment

None

Assignee

Andrea Boriero

Reporter

Oliver Gierke

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure