EJB Persist On Master Child Relationship
- by deepak.siddappa(at)oracle.com
Let us take scenario where in users wants to persist master child relationship. Here will have two tables dept, emp (using Scott Schema) which are having master child relation.Model Diagram: Here in the above model diagram, Dept is the Master table and Emp is
child table and Dept is related to emp by one to n relationship. Lets
assume we need to…