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

JPA Query with InExpression and Collection_valued_input_parameter Complains About Bad Syntax

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.1, 3.6.0
    • Fix Version/s: 3.6.1, 4.0.0.Alpha1
    • Component/s: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      JPA 2.0 spec final chapter 4.6.9 In Expressions

      In the spec there are 3 alternatives allowed for the query argument. For the 3rd alternative there are no parenthesis allowed.

      Hibernate seems to expect these illegal parenthesis.

      The error occurs within a named query in an entity class.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: