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

JPA specification violation in Query.getParameter(int) in HIbernate 5.2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 5.2.0
    • Fix versions: 5.2.1
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      Query.getParameter(int) is supposed to throw IllegalArgumentException in case no positional parameter is available. As of Hibernate 5.2, its implementation AbstractProducedQuery forwards to ParameterMetadata who's implementation in turn throws a Hibernate specific QueryParameterException from ParameterMetadataImpl.getNamedParameterDescriptor(String).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: