[jboss-user] [EJB 3.0] - Re: One to many relation issues
Fixed it. needed to make the following switch | @OneToMany | private Collection children; | ... | public Collection getChildren() { | return children; | } | View the original post : http://www.jboss.com/index.html?module=bb&op
[jboss-user] [EJB 3.0] - One to many relation issues
Hi, I'm trying to have a person entity who has a collection of person entities representing his children. I have it marked as follows: | private Collection children; | ... | @OneToMany | public Collection getChildren() { | return children;