Globally setting the Row Fetch Limit for all ViewObjects
There is an interesting feature available with 11gR1PS3(11.1.1.4.0) release which may help you to set a default 'row fetch limit' for all ViewObjects at application level. This is very useful to avoid expensive table scan if you don't have maxfetchsize defined for individual ViewObjects. Apparently, this 'global setting' fits well for those ViewObjects where each query execution may result in large number of records. Please note that, even the 'row count' query issued by the framework may also result in performance issues if the table is having huge chunks of data. How do you set the 'Row Fetch Limit' globally? This value can be configured using 'rowLimit' under <adf-adfm-config> section of <adf-config> file from your application. <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config"> <defaults useBindVarsForViewCriteriaLiterals="true" rowLimit ="10000"/> ... </adf-adfm...