After upgrading from 4.0.3SP1 => jboss-4.0.4.GA, I now have the following problem when deploying:
org.hibernate.AnnotationException: Use of @OneToMany or @ManyToMany targeting an unmapped class ... The situation is I have a @OneToMany annotation targeting an @Embeddable class. This used to work in 4.0.3SP1. I liked this because I didn't want to make the targeted class an @Entity since it really is just a value object so I don't care about @Ids. Mapping with a @OneToMany targeting an @Embeddable took care of creating a separate table with a foreign key, etc. Is this a valid thing to do? If so, is this a regression in jboss-4.0.4.GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944060#3944060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944060 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user