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?
精彩评论