Thursday, April 12, 2012

Save/Delete Master Detail Data using ADF 11g

Requirement # Save both Master and Detail data in a single transaction without throwing any error.
Solution : Open Entity association.xml ->Relationships->Behavior->Check 'Composition association' option
Requirement # All the child related data should get deleted from database upon deleting the parent record from database table
Solution:Open Entity association.xml ->Relationships->Behavior->Check 'Composition association' option, check ' Implement Cascade Delete'

1 comment:

  1. Hi Ravi
    Started searching about Fortune Mind on google and came across your blog.
    Goog work...keep it up.

    Vikas :)

    ReplyDelete