AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-898





Question ID 4578

Which two of the following statements are true of embeddable classes? (Choose two)
 

Option A

A.    An embeddable class must not be used to represent the state of another embeddable class.
 

Option B

B.    Null comparison operations over embeddable classes are not supported in the Java Persistence query language.
 

Option C

C.    An embeddable class must not contain a relationship to an entity.
 

Option D

D.    An embeddable class can be the key of a Map relationship.
 

Correct Answer B,D
Explanation


Question ID 4579

The department entity has a unidirectional OneToMany relationship to the employee entity. The developer wants to model this relationship as a java.util.map such that the key of map is true employee name. The primary key of the Employees entity is empId, an integer.
Which of the following is correct?
 

Option A

A.    @OneToMany (targetEntity = Employee.class) @MapKeyClass (string.class)
map employees;
 

Option B

B.    @OneToMany @mapKey (name = “name”) map < integer, Employee> Employees;
 

Option C

C.    @OneToMany @MapKeyJoinColumn (name = “name”) map <String, Employee> employees;
 

Option D

D.    @OneToMany @mapsId (name = “name”) map <String, Employee> employees;
 

Correct Answer B
Explanation

Send email to admin@getfreedumps for new dumps request!!!