Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-3223

HHH-3164 "id in ..." with EmbeddedId and criteria API

    XMLWordPrintable

Details

    • Release Notes
    • Hide
      Hibernate Query Language (HQL) did not support tuple syntax. Additionally, on those databases that did not support tuple syntax, database criteria was not being translated from tuple syntax to an interpretable syntax. This caused issues with database queries and HQL searches. The fix now supports tuple syntax in HQL, and for those databases where tuple support is not available, Hibernate now converts the query to an appropriate format. For example: <screen>where (a,b) in ( (1,2), (3,4) )</screen>is now converted to: <screen>where ( (a=1 AND b=2) OR ( (a=3 AND b=4) )</screen>
      Show
      Hibernate Query Language (HQL) did not support tuple syntax. Additionally, on those databases that did not support tuple syntax, database criteria was not being translated from tuple syntax to an interpretable syntax. This caused issues with database queries and HQL searches. The fix now supports tuple syntax in HQL, and for those databases where tuple support is not available, Hibernate now converts the query to an appropriate format. For example: <screen>where (a,b) in ( (1,2), (3,4) )</screen>is now converted to: <screen>where ( (a=1 AND b=2) OR ( (a=3 AND b=4) )</screen>
    • Documented as Resolved Issue
    • ASSIGNED

    Attachments

      Activity

        People

          ozizka_jira Ondrej Zizka (Inactive)
          shaozliu Strong Liu(刘少壮) (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: