Have you tried

  | 
  | private Set<Employee> employees;
  | 
  | @OneToMany(cascade = CascadeType.PERSIST, 
fetch=FetchType.EAGER,mappedBy="company")
  | public Set<Employee> getEmployees() {
  | return employees;
  | }
  | 

?

Regards 

fhh

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969254#3969254

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969254
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to