Uploaded image for project: 'Hibernate ORM'
  1. HHH-9160

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 4.3.5, 5.0.1
    • Fix versions: 5.0.4
    • Components: None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      CriteriaQueryTypeQueryAdapter.java:

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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 0.3h
                0.3h