Possibility to specify lazy="false" with Criteria API
-----------------------------------------------------
Key: HHH-2333
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2333
Project: Hibernate3
Type: New Feature
Components: core
Versions: 3.2.1
Reporter: Markus Heiden
Priority: Minor
I would like to dynamicly specifiy whether a collection is loaded lazy or not, e.g.
Criteria#setLazy(String path, boolean) and maybe the same for Query. This should do the
same like lazy="..." in the xml config. This would be useful for eager loading
with selects. If having many collections on one entity often only one collection can be
outer joined. This helps getting fully initialized objects and allows to detach them
without later lazy loading problems.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira