Hello,
Could someone please explain why child collection in the parent is not pre-filtered by the criteria? This is described at:
http://www.hibernate.org/hib_docs/refer ... tions.html
Why wouldn't a Cat instance not have only Kittens with name like "F%"?
The recommended solution is to use "setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP)". However, each Kitten object is retrieved from the map using it's alias, not from within the Cat object.
Is there a solution where Cat-Kitten object graph could have the pre-filtered objects as per the criteria?
Thank you,
hibusr11.