1 Reply Latest reply on Apr 24, 2006 2:48 AM by persabi

    mapping-file in  persistence-unit supported?

      Hi,

      Is the <mapping-file> element in the persistence-unit supported in JBoss EJB3.0?

      I seems that JBoss does not pick up the mapping configuration inside my orm.xml mapping file.

       <persistence-unit name="manager1">
       <provider>org.hibernate.ejb.HibernatePersistence</provider>
       <jta-data-source>java:/demos/DS</jta-data-source>
       <mapping-file>orm.xml</mapping-file>
       <!--<class>demo.basics.entities.Employee</class>-->
      
      
       <properties>
       <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
       <property name="hibernate.show_sql" value="true"/>
       <property name="hibernate.hbm2ddl.auto" value="update"/>
      
       </properties>
       </persistence-unit>
      


      If it is supported what I am doing wrong? If it is not supported, when will support be added?

      Tx.,

      Raphael