About Question enthuware.oce-jpad.v6.2.430 :
Posted: Wed Mar 30, 2016 2:08 pm
In the explanation of the 4th option, it's written "This is a correct bidirectional mapping based on the given tables, ..."
Isn't it so that if the OneToMany relationship is bi-directional, the source object must use the mappedBy attribute to define the mapping?
That would mean that it's not a correct mapping because mappedBy attribute is missing.
Isn't it so that if the OneToMany relationship is bi-directional, the source object must use the mappedBy attribute to define the mapping?
That would mean that it's not a correct mapping because mappedBy attribute is missing.