Why can the field "contracts" be "null"?
----------
@Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class Person implements Serializable,Subject {
@Id @GeneratedValue
private long id;
@ManyToMany(fetch = FetchType.EAGER, cascade={CascadeType.DETACH,CascadeType.MERGE,CascadeType.REFRESH}) @JoinTable(name="PERSON_CONTRACT")
private Set<Contract> contracts = new HashSet<Contract>();
----------
@Entity
public class Contract {
@Id @GeneratedValue
private long id;
@ManyToMany(fetch = FetchType.EAGER, cascade={CascadeType.DETACH,CascadeType.MERGE,CascadeType.REFRESH}, mappedBy = "contracts")
private Set<Person> persons = new HashSet<Person>();
[...]