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

Where clause for collections of basic, embeddable and "any" elements is ignored when mapped using hbm.xml

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      HHH-12875 Closed caused this regression. It specifically affects collections mapped using hbm.xml using where="..." for collections of basic, embeddable, or "any" elements.

      Before HHH-12875 Closed was fixed, org.hibernate.mapping.Collection#setWhere was called for all the different types of elements (although, it was not correct for one-to-many associations).

      After HHH-12875 Closed was fixed, org.hibernate.mapping.Collection#setWhere was only called for one-to-many and many-to-many associations. As a result, the "where" mapping is ignored for basic, embeddable, and "any" elements.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                gbadner Gail Badner
                Reporter:
                gbadner Gail Badner
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: