Pages - Menu

Friday, October 25, 2013

Associations Programmatically Access Techniques || Oracle ADF

Hi,

Today, i decided to show two different simple DataModel Script techniques in Entity Object Level to Handle Entity Object's Associations between Dept / Employees in HR Standard Schema.

Two Different Techniques sometimes replace Each other & sometimes complete each other to handle RowSet Collection of Data based on Association.

  • First Technique is the standard one which use Accociation Method exposed in Deparment EO composing RowSet, and then looping using hasNext / Next to get Attribute Values From Rows.
 
  • Second Technique to Filter Same RowSet using specified Employee ID in Scope of Association which means inside one department which is currently opened. 
 
Method (Source)



regards

No comments:

Post a Comment