开发者

FetchMode as JOIN in JPA

开发者 https://www.devze.com 2023-03-20 02:34 出处:网络
How do we specify FetchMode as JOIN in JPA? I do under开发者_开发技巧stand that in hibernate we can do it by @Fetch(FetchType.JOIN). But how do we achieve this in JPA?You can\'t. Use the hibernate-spe

How do we specify FetchMode as JOIN in JPA? I do under开发者_开发技巧stand that in hibernate we can do it by @Fetch(FetchType.JOIN). But how do we achieve this in JPA?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消