[jboss-user] [EJB 3.0] - <jar-file> elements in persistence.xml

ojacobson do-not-reply at jboss.com
Mon Oct 16 19:36:25 EDT 2006


Why does JBoss try to resolve jar files mentioned in persistence.xml relative to $JBOSS_HOME/bin?

<persistence>
  |   <persistence-unit name="ejb3-example">
  |     <jta-data-source>java:/DefaultDS</jta-data-source>
  |     <jar-file>entities.jar</jar-file>
  |     <properties>
  |       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |     </properties>
  |   </persistence-unit>
  | </persistence>


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

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



More information about the jboss-user mailing list