nethili@yahoo.com wrote:
Hi All,
All the mapping objects are specified by default as lazy=false in my hibernate association files. How to fetch only the parent object and to avoid associated child objects when the parent object is queried via code in DAO layer. Is there any property in hibernate to avoid immediate fetching during the query execution though the immediate fetching(ie lazy=false) is set in mapping file.
Please help ASAP.
Thanks in Advance..
the same content of my question:
http://forum.hibernate.org/viewtopic.ph ... highlight=
Hope we get an answer soon :)