Perfomance tuning
0 posts in topic
Flat View  Flat View

Posted By:   Alexander_Furer
Posted On:   Wednesday, March 28, 2007 08:06 AM


My backing bean has method getTableData to fetch data from DB according to filter values(wich are properties of the same bean)


public List getTableData(){
return daoObj.getData(filterField1,filterField2...);


getTableData function is accessed few times (once per each phase). I want to fetch data from DB only once , when all filter values are updated to bean. How this can be accomplished ? Do i need some kind of phase aware bean? Can i return null for earlier phases ?
About | Sitemap | Contact