We're updating the issue view to help you get more done. 

javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value

Description

CriteriaQueryTypeQueryAdapter.java:

1 2 3 4 5 6 @SuppressWarnings({ "unchecked" }) public Object getParameterValue(String name) { entityManager.checkOpen( false ); locateParameterByName( name ); return jpqlQuery.getParameter( name ); // Should return getParameterValue() !!! }

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Christian Bauer

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

4.3.5
5.0.1

Priority

Major