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

HHH-2049 - LEFT OUTER JOIN subcriteria filters children

    XMLWordPrintable

Details

    • Release Notes
    • Hide
      When the Criteria API was used with LEFT OUTER JOIN to add criteria to children, the child collections will only contain those children matching the criteria. This behavior also applies when not using any Filters. For example:

      <programlisting>criteria.createCriteria("children", JoinFragment.LEFT_OUTER_JOIN)</programlisting>

      The root cause of this issue was that the criteria were not being properly propagated. This has now been resolved and these criteria are now properly applied.
      Show
      When the Criteria API was used with LEFT OUTER JOIN to add criteria to children, the child collections will only contain those children matching the criteria. This behavior also applies when not using any Filters. For example: <programlisting>criteria.createCriteria("children", JoinFragment.LEFT_OUTER_JOIN)</programlisting> The root cause of this issue was that the criteria were not being properly propagated. This has now been resolved and these criteria are now properly applied.
    • Documented as Resolved Issue
    • ASSIGNED

    Description

      http://opensource.atlassian.com/projects/hibernate/browse/HHH-2049

      When using the Criteria API with LEFT OUTER JOIN to add criterias to the children, i.e. criteria.createCriteria("children", JoinFragment.LEFT_OUTER_JOIN) the child collections will only contain those children matching the criteria. (Even when not using any Filters).

      Attachments

        Activity

          People

            shaozliu Strong Liu(刘少壮) (Inactive)
            sjmenden_jira Samuel Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: