|
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.
|