8 Replies Latest reply: Mar 6, 2014 1:30 AM by Cvele_new_account RSS

    ParentEOImpl class instance is null in ChildEntityEOImpl class

    Jagadeesh Badri

      Hi Team,


      Jdev Version :


      I have Master Child Table, I was trying to insert the records in these table.


      I was getting Integrity constant error, So I have overridden the postChanges Method in ChildEoImplClass:



           public void postChanges(TransactionEvent e) {

               if (getPostState() == STATUS_NEW ||

                   getPostState() == STATUS_MODIFIED) {

                   CustMasterEOImpl masterEO = getCustMasterEO();

                   if (masterEO != null) {

                       if (masterEO.getPostState() == STATUS_NEW) {









      But here getCustMasterEO is coming as null means parentEOImpl class


      Any idea to resolve this issue?