Hi,

in ear file I have two ejb-jar (data.jar and address.jar), each of them 
defining its own persistence unit. When deploying I get the following error:

anonymous wrote : 
  | org.hibernate.AnnotationException: @OneToOne or @ManyToOne on 
com.test.data.Customer.address references an unknown entity: 
com.test.address.Address
  | 

The Customer is depending on the Address, the adress.jar is deploying before 
(its generating the table correct). JBoss doesnt seem to find the entity of the 
other ejb-jar. I have to somehow tell JBoss that data.jar is depending on 
address.jar? How do I have to do this? Any ideas?

Thank you, Torsten

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to