-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: file hibernate.cfg.xml
PostPosted: Wed Jun 09, 2004 5:06 am 
Newbie

Joined: Thu Jun 03, 2004 5:47 am
Posts: 13
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 !


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 7:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Have a read of the wiki.
See http://hibernate.bluemars.net/66.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 11, 2004 2:04 am 
Newbie

Joined: Fri Jun 11, 2004 1:35 am
Posts: 18
I want to work with hibernate.cfg.xml to integrate Jboss with Hibernate.
Where I Have to put that file?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.