Is it possible to prevent lazy loading on one collection only? Assume that we have object A, that has two collections (for example @OneToMany) inside. Both of them are LAZY. I want to do something like evict on the second collection but still have the possibility to fetch data for the second, so evicting whole parent object is not the solution for me.
Ok, I am assuming that setting null value isn't such a bad solution. It means - "I don't want to have anything in this collection". But if someone know more about potential possibility to block lazy on only one proxy/ collection would be nice to have this information here.
Greetings.