About Question enthuware.oce-jpad.v6.2.432 :
Posted: Thu Jul 20, 2017 5:54 pm
For the second option "a map of employee-project does not make sense at all."
I think the major reason why it does not make sense because Project is an entity.
When an entity is a value of a map, we should use @ManyToMany instead of @ElementCollection.
This point can be added to the explanation if it is correct.
I think the major reason why it does not make sense because Project is an entity.
When an entity is a value of a map, we should use @ManyToMany instead of @ElementCollection.
This point can be added to the explanation if it is correct.