| Author |
lazily loading collection
|
Naresh Chaurasia
Ranch Hand
Joined: May 18, 2005
Posts: 309
|
|
Suppose I have following class,
I load Event from session object. Now when i use getSpeaker(), hibernate would lazily load the speaker collection(assuming lazy is true by default).
I wanted to understand the following concept:
When I do event.getSpeaker(), which give me a set containing Speaker, is the Speaker object populdated with data, or the stubs are loaded initially and then when i make call to Speaker method the object is actually populdated
|
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
|
 |
 |
|
|
subject: lazily loading collection
|
|
|