Sripaul
Sripaul

Reputation: 2235

FetchMode as JOIN in JPA

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?

Upvotes: 3

Views: 2186

Answers (1)

Bozho
Bozho

Reputation: 597016

You can't. Use the hibernate-specific annotation.

Upvotes: 2

Related Questions