开发者

hibernate - lazy init joined component

I used the mapping solution from this que开发者_Python百科stion to have a joined component. But it make hibernate trigger join query to obtain the component event i use fetch="select" in <join>

Please tell me how can i make the joined component lazy init.

Thank you


By setting fetch="select" you effectively switch off lazy loading. Have you tried without?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜