I am working on an application built using oracle ADF 10.1.2.17.87 and I see that the SQL loads each time the action class is invoked.
<action path="/search/SearchPage" ...>
<set-property property="modelReference" value="search_searchUIModel"/>
<forward name="success" path="/search/searchPage.do"/>
</action>
<DCIterator
id="SearchIterator"
Binds="SearchModuleDataControl.SearchView"
RSIName="null"
RangeSize="10"
>
</DCIterator>
<ViewObject
Name="SearchView"
SelectList="empno,ename from employee"
/>
RefreshCondition = #{adfFacesContext.postback == true}
does not work. It throws nullpointer exception. What else can I do to avoid full table load during initial load? are there any attributes that I can set to avoid this full table scan.
在托管bean构造函数中使用AdfFacesContext.getCurrentInstance().isPostback()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.