How To JOIN FETCH an @ElementCollection
Description: This application is an example applying JOIN FETCH to fetch an @ElementCollection.
Key points:
- by default,
@ElementCollectionis loaded lazy, keep it lazy - use
JOIN FETCHin the repository
How To JOIN FETCH an @ElementCollection
Description: This application is an example applying JOIN FETCH to fetch an @ElementCollection.
Key points:
@ElementCollection is loaded lazy, keep it lazyJOIN FETCH in the repository