[jboss-user] [EJB 3.0] - Multiple Persistent Units
mleichter
do-not-reply at jboss.com
Thu Sep 7 05:11:11 EDT 2006
In my application i have a coredb.jar with all basic entities and a persistence.xml including a persistent-unit "core-db". In my second jar (myapp.jar) there are my specific entites and a persistence.xml with a persistent-unit "app-db". My app specific entites have an one-to-one memeber to a core-entity.
Both jars are packed into one ear. When deploying i the following exception:
| org.hibernate.AnnotationException: @OneToOne or @ManyToOne on app.AppBean references an unknown entity: core.CoreBean
|
Whats wrong? Can anyone help me? Thanx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970032#3970032
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970032
More information about the jboss-user
mailing list