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

2007-07-13 Thread simon_lebettre
You may be able to make it work by referencing your other jar with in persistence.xml. see http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064090#4064090 Reply to the p

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

2007-07-11 Thread waynebaylor
is the persistence-unit name in client.jar the same as the one used in guesbook.jar? if not, then i bet that's why you had to include the client class in the guestbook's persistence.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063068#4063068 Reply to

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

2007-07-10 Thread jmiguel77
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 refere

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

2007-06-07 Thread deady_
no I don't. client.jar deploys without any error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052168#4052168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052168 ___ jboss-

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

2007-06-07 Thread waynebaylor
>From a clean start, do you get the hibernate.AnnotationException when you >deploy client.jar first before guestbook.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052161#4052161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

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

2007-06-07 Thread deady_
separetly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052127#4052127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052127 ___ jboss-user mailing list jboss-user@lists.jbos

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

2007-06-07 Thread waynebaylor
Are you deploying the two jars separately, or are they in an ear? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052101#4052101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052101