The file hibernate.cfg.xml
Code:
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<mapping resource="org/jboss/nukes/addons/modules/essaiHibernate/Style.hbm.xml"/>
<!--<mapping resource="org/hibernate/admin/model/Role.hbm.xml"/>-->
<!-- this cache setting would override the settings from the
mapping file if enabled
<class-cache
class="org.hibernate.admin.model.Role"
region="Role"
usage="read-write"/>
-->
</session-factory>
</hibernate-configuration>
is necessary is I deploy my .sar in JBoss?
Thanks a lot !