Given:
11. @Entity public class X {
12. @ld int id;
13. Y y;
14. }
A public class Y with NO Java Persistence annotations is defined in the same package.
Which statement is correct about these classes if NO other annotations and mapping descriptors
are provided?
A.
Class Y must be serializable.
B.
Class Y must be marked as an entity.
C.
The entity X is not defined correctly. The field y must be marked as @Lob.
D.
Class Y must be accessed by a persistence application through a public interface.