-->
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.  [ 4 posts ] 
Author Message
 Post subject: Configuring Hibernate mapping files in JBoss (SAR)
PostPosted: Wed Oct 29, 2003 11:06 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
I want to configure Hibernate as a SAR for JBoss.
Is it possible to use (in the jboss-service.xml) the following or something like it:

<attribute name="MapResources">mappings/hibernate.cfg.xml</attribute>


instead of putting all the mapping files like:

<attribute name="MapResources">mappings/MasterAccount.hbm.xml,
mappings/SubAccount.hbm.xml,
mappings/Password.hbm.xml
mapping/...</attribute>


Please help.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 29, 2003 11:13 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Hold this thought. I am currently working on a much slicker Hibernate service that will auto-scan an archive for mapping files and manage hot-deploy much more cleanly, etc.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 29, 2003 11:25 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
gavin wrote:
Hold this thought. I am currently working on a much slicker Hibernate service that will auto-scan an archive for mapping files and manage hot-deploy much more cleanly, etc.


Ok. Cool.
Just for the record, is there a way at the moment that can read from the hibernate.cfg.xml rather than putting all the mapping files in the jboss-service.xml file?

Let me know when you've come up with the other Hibernate service.

cya.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 29, 2003 11:54 am 
Regular
Regular

Joined: Wed Oct 15, 2003 4:40 pm
Posts: 67
gavin wrote:
Hold this thought. I am currently working on a much slicker Hibernate service that will auto-scan an archive for mapping files and manage hot-deploy much more cleanly, etc.


/me signs up for the announcement waiting list :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.