First page Back Continue Last page Text

oracle adf workshop


Override postChanges() in

The code in the following slide tests whether the entity that is being posted is in the STATUS_NEW or STATUS_MODIFIED state. If it is, it retrieves the related product using the getSupplier() association accessor. If the related Suppliers row also has a post-state of STATUS_NEW, it first calls postChanges() on the related parent row before calling super.postChanges() to perform its own DML.