[jboss-user] [EJB 3.0] - Re: entity relationship from several jars

jmiguel77 do-not-reply at jboss.com
Tue Jul 10 14:46:31 EDT 2007


Hi 

I have exactly the same case 

I want to add a @ManyToOne in an entity, that points to an entity in a different jar (deployed separately)

And it gives me the same exception

org.hibernate.AnnotationException: @OneToOne or @ManyToOne on com.casabaca.twc.ejb.model.TwcEstado.facCompania references an unknown entity: com.casabaca.s3s.ejb.model.FacCompania

FacCompania is in another ejb.jar file that deploys correctly

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062635



More information about the jboss-user mailing list