Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [EJB 3.0] - Re: JoinColumns with AnnotationException

scott.stark@jboss.org

2007-08-07


Hi,

its not much but try to change

| @OneToMany(mappedBy="anlagenteil")
| private Set stoerungCollection;
|

to


| @OneToMany(mappedBy="anlagenteil")
| private Set<Aggregat> stoerungCollection;
|

As an alternativ you may specify the targetEntity with full qualified class name.

May be this helps.

Regards
/sandor/


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071665
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.