-->
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: config nhibernate for oracle and sql in same application
PostPosted: Wed Feb 18, 2015 5:31 am 
Newbie

Joined: Wed Feb 18, 2015 5:22 am
Posts: 1
i need to create switchable web.config file which can configure N Hibernate to work with either MS-SQL Server or Oracle

I'm having 2 configuration files and one web.config files

sqlcongif.config oracleconfig.config

if i want only SQL config i need to point to sqlconfigure.config in web.config or else only oracle i need to point oracleconfig.config

tried with child config and other web options .

i found that similar problem when we are having connection strings in web config files is there any options we can do this ?

thanks in advance :)


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.