Which statement about the JoinTable annotation is true?

Which statement about the JoinTable annotation is true?

Which statement about the JoinTable annotation is true?

A.
It must be applied to a unidirectional many-to-one association.

B.
It can be applied to the owning side of a many-to-many association.

C.
It must be applied to the owning side of a unidirectional one-to-many association.

D.
If the name attribute is not specified it is derived from the names of the primary keys of the two
entities involved in the association.



Leave a Reply 0

Your email address will not be published. Required fields are marked *