RowLimit configuration in ADF

RowLimit Configuration Parameter Example


what is rowLimit configuration :

     we have a table with certain number of rows.  if  anyone need to instruct the application user with rowLimit warning when the user cross the predefined rowLimit within the table, here is the way:
<?xml version="1.0" encoding="UTF-8" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
            xmlns:config="http://xmlns.oracle.com/bc4j/configuration"
            xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
            xmlns:sec="http://xmlns.oracle.com/adf/security/config">
  <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
    <defaults changeEventPolicy="ppr" useBindVarsForViewCriteriaLiterals="true"
              useBindValuesInFindByKey="true" mapNegativeScaleToIntegerTypes="true"

              executeEmptyOnException="true" rowLimit="100"/>

How do you override the global Row Fetch Limit for a specific ViewObject?


we can override the global row fetch limit for a particular VO.  Here is the way :

Provide maxfetchsize for the VO [Tuning Section of a VO]

OR 

we can override getRowLimit() of ViewObjectImpl  to return -1.


Comments

Popular posts from this blog

ADF MODEL - VIEW CRITERIA (VC)

Developing Scalable Web Applications with Cloud Architecture

Best Practices