Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to clear the ADF Entity cache

User_CBCOIApr 20 2012 — edited Apr 20 2012
Hi All,
While I'm using an entity based updatable view object,after deleting a record,I created a new record with the same key,It displays the deleted record instead of new record.

Sample steps:
1.Create a updatable view object with key attribute name sequence.
2.I dropped this as table in the view page.
3.I created a new record for this using CreateInsert action
4.I entered the values for this new record.
5.I deleted the new record
6.Again I created a new record.
7.If I enter the previous sequence value,it displays the old record values, If I enter a different value the delete record does not affect this.

So I think,I need to clear the entity cache, but I have used clearCache() of ViewObjectImpl, there is no change.

If anyone came across the problem and fixed,Please let me know the solution.

Regards,
Felix
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2012
Added on Apr 20 2012
2 comments
4,124 views