6 Replies Latest reply on Jul 22, 2013 1:34 PM by spcornell

    How to insert row into table from an Entity class


      I am using JDeveloper using ADF.  I would like to insert a row into Table B when Table A is being inserted into the database based on a value selected by end user.  I could do this in a database trigger but I would like to try in ADF. I think the best place to do it would be in the entity class  based on Table A . I could override the doDML method and check for DML_INSERT

      and do the insert of table B there, but I don't know the  best way to accomplish this.  I assume I want to avoid using a SQL "Insert"  statement. I am new to ADF and it can be difficult to convey

      a question using the proper terminology. I hope this makes sense.