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:
org.hibernate.AnnotationException: @OneToOne or @ManyToOne on com.test.data.Customer.address references an unknown entity: com.test.address.Address
entities associated with each other must be in the same persistence unit