public RowIterator findByViewCriteriaWithBindVars(ViewCriteria criteria,
int maxNumOfRows, int queryMode, Variable[] vars, java.lang.Object[] values)Description : the functionality of findByViewCriteriaWithBindVars same as findByViewCriteria, but the difference is “findByViewCriteriaWithBindVars access Binding Variables exist in View Criteria to pass values.
i will start my simple example as below ..
- Create test project & implement impl class of AM to include the new function.
- Create View Criteria with binding Variable as below.
- build your new method in AM imp class ..
If
QUERY_MODE_SCAN_VIEW_ROWS
is specified, the existing View rows in the current Row Set are scanned for matching rows.If
QUERY_MODE_SCAN_ENTITY_ROWS
is specified, the Entity
cache is searched for qualifying rows. If qualifying rows are found,
they are added to the current Row Set. I.e., they become part of the
current row collection. Internally, a finder View Object is created to
search the Entity cache and to produce View rows from the Entity cache.If
QUERY_MODE_SCAN_DATABASE_TABLES
is specified, a database query is issued to find matching rows. The View Criteria is converted into a where-clause.- Make your method as a client interface as usual in AM Level .
- result ..
Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting this exclusive post for our vision.
ReplyDeleteData Science training in chennai
Data Science training in OMR
Data Science training in chennai
Data Science Training in Chennai
Data Science training in Chennai
Data Science training in anna nagar