posted 15 years ago
/**************************************************************/
Please explain to me why option D is correct. I do not understand how mappedBy="faculty" is the inverse side of the relationship.
Perhaps option D should read as follows:
on the faculty field. Also why is option C incorrect?
According to JPA book by Mike Keith:
"No matter which side is designated as the owner, the other side should include the mappedBy element, otherwise the provider will think that both sides are the owner and that the mappings are separate unidirectional relationships."
page 102
also see the example on page 101.