I think when it (log file) says:
we talk about the real object and not a proxy.
OK, here are my results after adapting my Hibernate Mapping file with subselect and removing again:
When your collection is lazy
it doesn't matter whether you have subselect or not. In both cases you have ONE select with a WHERE clause set to the parent's ID. The select is triggered with your first collection.get(0). All other collection.get(1), collection.get(2), ... are initialized w/o doing a select again.
This behavior was the same whether subselect was on or not
. Does anyone has an explanation?
Regards,
Darya