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

Embedded OneToMany association fetch join does not work in CriteriaQuery

    Details

      Description

      When using a CriteriaQuery fetch() to join a OneToMany association that is declared in an @Embeddable class, the resulting query omits the JOIN and testing the association accessor shows that the associated collection is not initialized. A second query/fetch cycle is required to initialize the collection.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: