i am using appfuse1.93, spring,hiberante and struts 1.2 i am having an preformance issue with hibernate
how can i set fetch mode= lazy dynamically at runtime so that only that class object is called because if i use lazy ="true" in hbm.xml file in my parent class which is called , then hibernate is firing all the query to its last child and all hiearchy of its child which are not used at that moment and this is causing performance issue and causing my applicatin to run very slow and sometime java heap space eror is thrown