Sunday, February 22, 2015

View Link Consistency and Association Consistency

View Link Consistency and Association Consistency


View link consistency is a feature that allows view object instances with entity usages to immediately see rows based on new entity object instances as they get created.

For example, suppose you create a row using CreateEmployeeVO based on Enitity Object definition of Employees.This would create an instance of the entity object definition Employees. View link consistency will allow that employee to appear as a row in SearchEmployeeVO (a different view object instance) without a database post and requery.

For simple view object definitions with only one updatable entity, this happens automatically unless you make manual changes to your application module by setting jbo.viewlink.consistent=false configuration property at the AM level.

However, by default, view object definitions with multiple updatable entities do not have instances with view link consistency.This is because, if an instance of each entity usage is created, it may not be clear how many new view rows to base on them (one row with both, or two separate view rows, one with each).

However, in some cases, you are creating both entity object instances by creating a single view row appropriate to a particular view object instance. In that case, you can manually set view row consistency on the view object instance by passing a value of true ViewObjectImpl.setAssociationConsistent().

Example: ViewObjectImpl.setAssociationConsistent(true);



4 comments:

  1. Thanks Kumaran.
    Please tell me how can this help in improving performance?

    Thanks,

    ReplyDelete
    Replies
    1. This would save round trips of re querying other row sets to reflect new rows in different application pages for a pending transaction which is one improvement of performance which i see.

      Delete
  2. Thanks and Regards. Oracle Apps R12 Training Videos at affordable cost. please check oracleappstechnical.com

    ReplyDelete
  3. Oracle apps and Fusion Self Paced Training Videos by 15 Yrs Exp Industry Experts. Please visit https://oracleappsfusion.teachable.com

    ReplyDelete