Let us Start today with a small topic for ADF Developers, with how to use PK (Primary Key) to search your Values.
we have some built in functions we use to access VOs & search the items, Examples (findByKey,findByAltKey,findByViewCriteria & findByViewCriteriaWithBindVars)
we will start with findByKey, FindByKey Fetches the requested record by primary key and returns it as an object. Returns
false
if no record is found.- Create New Test Application including Employees Table of HR Schema, composing EOs & VOs.
- Start & Customize Impl Class of AM.
- create String Method to Return Value based on PK Value as a method parameter as we see this below image.
- Let us see the result ..
No comments:
Post a Comment