-->
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.  [ 1 post ] 
Author Message
 Post subject: Which config schema/style to use?
PostPosted: Tue Aug 14, 2007 7:33 am 
Newbie

Joined: Sun Aug 05, 2007 3:04 pm
Posts: 4
Hi,
I've noticed two types of xml configuration schema in some examples (elements in web.config):
One starts with "hibernate-configuration" (type:NHibernate.Cfg.ConfigurationSectionHandler) and the second starts
with "nhibernate" (type: NameValueSectionHandler).

Which one should i use? I've notices that the first one allows to define:
<mapping assembly="BasicSample.Core" /> (instead of writing this inside the code), can i use it with the second configuration style?

Thanks.


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

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.