First page Back Continue Last page Text

oracle adf workshop


Code to Override the refreshFKInNewContainees() Method

// In

protected void refreshFKInNewContainees() {

if (newProductsBeforePost != null) {

Number newSupplierId = getSupplierId().getSequenceNumber();

/* Process the rowset of products that referenced the new supplier prior to posting, and update their SupplierId attribute to reflect the refreshed SupplierId value that was assigned by a database sequence during posting.*/

while (newProductsBeforePost.hasNext()) {

ProductsBaseImpl product =