Home » ADF » Refreshing Entities and View Objects when user calls Commit and Rollback Operation
Refreshing Entities and View Objects when user calls Commit and Rollback Operation

Refreshing Entities and View Objects when user calls Commit and Rollback Operation

Sometimes we need to refresh all View Objects based tables when a user calls Commit and Rollback Operation. Now, what happens   actually is,  it refreshes Entity and View Object Cache from the database. To perform this trick, I’m going to explain a very simple way of using ADF Business Component Application Module :

There are two properties on AM.

  1. ClearCacheOnRollback
  2. ClearCacheOnCommit

You have to set these properties on Application Module xml file.

Go to model project , double click on Application Module,  select source tab and set above properties in side <AppModule> tag as shown in the screenshot below.

refreshing entities

About Manish Pandey

Manish Pandey is a Senior Developer with more than 3 years of experience in JAVA Programming. Currently enhancing skills in ADF.

One comment

  1. Thanks!! for the post..

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>