Given two entities with one to-one association:
@Entity public class Person {
@Id Integer id;
}
@Entity public class PersonDetail {
@Id Integer id;
}
Which code fragment correctly defines the detail field that PersonDetail instance in removed if the person instance that references it is removed?
Comments