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>
I'm not sure if OR mapping via XML file is available yet. How did you go? I don't see a JIRA issue for it.