| @OneToMany(mappedBy="workout", cascade=CascadeType.REMOVE)
  |   private List<Workout> workouts = new ArrayList<Workout>();
  | 

You propably mean mappedBy="athlete".

Regards

Felix

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

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

Reply via email to