READ Free Dumps For Oracle- 1z0-898
Question ID 4574 | The developer wants to define a unidirectional relationship from the customer entity to the order entity and map this relationship using a foreign key mapping strategy. |
Option A | A. @Entity public class Customer { |
Option B | B. @Entity public class Customer { @Id int customerId; |
Option C | C. @Entity public class Customer { |
Option D | D. @ Entity public class Customer { |
Correct Answer | A |
Question ID 4575 | A developer who is designing entity classes to map a legacy database encounters a table called STUDENT_RECORD. |
Option A | A. Model the student table as a student entity and STUDENT_DATA table StudentData entity. Model the STUDENT_RECORDS table as bidirectional many-to-many relationship between the student entity on the student data entity. |
Option B | B. Model the STUDENT table as a Student entity and the STUDENT-DATA table as a StudentData entity. Model the STUDENT_RECORD table as a bidirectional one-to-one relationship between the student entity and the StudentData entity. |
Option C | C. Model the STUDENT table as a Student entity and the STUDENT-DATA table as a StudentData entity. Model the Student-Records table as a student record entity. Create a many-to-one one relationship from the StudentRecord entity to the student entity and many-to-one relationship from the student entity to the StudentData entity and one-to-many relationship from the StudentData entity to the StudentRecord entity. |
Option D | D. Model the STUDENT table as a Student entity and the STUDENT-DATA table as a StudentData entity. Model the STUDENT-RECORD table as a StudentRecord entity. Create a bidirectional one-to-one relationship between the StudentRecord entity and bidirectional one-to-one relationship between the Student Record entity and the Student Data entity. |
Correct Answer | A,C |