Hello all !
Basically my problem is the following :
We have some objects for which we use the second level cache.
When we retrieve a collection of these objects, what hibernate should do is fetch ids, and then get elements from the cache.
Instead, it fetches all objects at once.
This is quite a problem if these objects are big and many entities have collections of them...
Seems that what we would need would be a new fetch mode (maybe lazy mode) where we would first get ids and then get the entities one by one.
Anyone knows how to do this, or maybe a JIRA about the issue ?
Thanks in advance