Hi,
I have two mysql tables, user and staff.
On my user table I have three foreign keys, social_security_assistance_confirmed_by_staff_id, approved_by_staff_id, rejected_by_staff_id, all reference staff.id.
I seam-gen with seam generate-entities and one problem is it makes my UserHome class wrong with:
@Name("userHome") public class UserHome extends EntityHome<User> { @In(create = true) StaffHome staffHome; @In(create = true) StaffHome staffHome; @In(create = true) StaffHome staffHome;
That does compile, how come? how to fix?
Thanks, Philip
There is no fix yet (Seam 2.1.1.GA). See JBSEAM-994 JIRA issue