Model beans that have OneToMany or ManyToMany references should initialize
these fields. For example, the fields such as;
@ManyToMany(.....)
private Set<PostCode> postCodes;
@OneToMany(.....)
private Set<Job> postedJobs;
should be generated as;
@ManyToMany(.....)
private Set<PostCode> postCodes = new HashSet<PostCode>();
@OneToMany(.....)
private Set<Job> postedJobs = new HashSet<Job>();
Original issue reported on code.google.com by hakandi...@gmail.com on 25 Jan 2009 at 2:13
Original issue reported on code.google.com by
hakandi...@gmail.com
on 25 Jan 2009 at 2:13