Tuesday, May 3, 2011

ADF BC : DeadEntityAccessException

 

This exception usually comes when you try to set the attribute for entity object whose row is physically deleted.

Example:-

You have overide remove and dodml method of EOImpl.java and you want to perform some logic before deleting the row.

Perform the logic before calling super.remove method ,otherwise , you will see above exception.

image

I ran application module tested and it throwed following exception.

image

No comments:

Post a Comment