Checking for dirty data
Sometimes you may need to check for the modified state of the business data. If your data update is always triggered through ADF binding layer(where the UI component is bound with data using EL #{bindings.xxx.inputValue}), then its an easy job as all the data access is routed through a common entry point. You can safely use DCDataControl::isTransactionModified() - This returns true if you have modified any of the attribute values exposed by the DataControl. You can use this API even if you use EJB and JavaBean Data Control as well. DCBindingContainer dcBindingContainer=(DCBindingContainer) BindingContext.getCurrent().getCurrentBindingsEntry(); if(dcBindingContainer.getDataControl().isTransactionModified()){ //Code goes here... } Please note that for those Data Controls which does not have direct implementation for the 'transaction commit'(e.g: EJB or JavaBean Data Control ), its your duty to clear the modified flag once you persist the changes by