[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

fhh do-not-reply at jboss.com
Wed Aug 8 17:34:51 EDT 2007


  | @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



More information about the jboss-user mailing list