Reputation: 2235
How do we specify FetchMode as JOIN in JPA? I do understand that in hibernate we can do it by @Fetch(FetchType.JOIN). But how do we achieve this in JPA?
FetchMode
JOIN
@Fetch(FetchType.JOIN)
Upvotes: 3
Views: 2186
Reputation: 597016
You can't. Use the hibernate-specific annotation.
Upvotes: 2