Beginner |
 |
Joined: Wed Apr 23, 2008 12:07 pm Posts: 22
|
Is it possible for Hibernate to generate tables out of entity beans, even if the persistence.xml is in a different jar file than the entity beans? I am deploying my EAR file in JBoss. The ear file contains 2 jar files, one with the entity beans and one as a simple jar file containing META-INF\persistence.xml. Trying to move the persistence.xml to the ejb.jar leads to generating my tables. So the datasource and persistence.xml must be correct. While deploying my ear file it tells me "SchemaUpdate complete" but there is nothing generated :( hbm2dll -> update is my default option
|
|