It decides whether the child object is loading to the parent or not.
- We have to set it in the mapping file of the parent class.If lazy="true" (means not to load child)
- By default the lazy loading is true.
- But some cases we need to load the child object when the parent is loaded.
- So in that case we'll have to write lazy="false".
No comments:
Post a Comment