Hello,
Actually I have a graph of objects connected to each other; all of the relations are none lazy since this is the default behavior of our business (we are almost navigating the relations).
But for some rare cases & due to the performance issues, I need only one relation to be none lazy & I don’t care with the others (let them null or lazily load them)
Question:
How can I skip (on hibernate level) some of select statements that retrieve child collections (I don’t want to retrieve them totally)?
Or can I change the lazy option for them at runtime to be (true)?
Hope you understand my question
|