Regular |
|
Joined: Thu Sep 06, 2007 2:22 am Posts: 108 Location: Noida,India
|
By default, loading every entity association and collection by hibernate is lazy, so it will not load a associated entity/collection unlit required. But you have override that setting by setting lazy=false, so when you are loading any entity, it associated entity/collection are getting loaded into memory and so you are facing performance problem.
You have to find out correct lazy behavior with respect to you use case. See hibernate tutorial for that. you have to read it. without that you may face more performance problem.
|
|