Question: Marks: 15 Student id: Section: 1. Create an entity named Employee and Dependent and create a one-to-many mapping using JPA. EMPLOYEE DEPENDENT ON (1,1) EMP
Marks: 15 Student id: Section: 1. Create an entity named Employee and Dependent and create a one-to-many mapping using JPA. EMPLOYEE DEPENDENT ON (1,1) EMP NUIM EMP NUM EMP_LNAME DEP NUM EMP_FNAME D_FNAME EMP_INITAL DE DO EMP_DOB EMP_HIREDATE Write a main program to assign values to the Employee and Dependent entity using entity manager instance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
