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: Connecting ORACLE using NHibernate
PostPosted: Thu Oct 22, 2009 4:47 am 
Newbie

Joined: Thu Oct 22, 2009 3:26 am
Posts: 1
Hi

I have an application where it uses SQL SERVER as backend, now i want to migrate to form SQL SERVER to ORACLE. I have made changes to configuration file to connect Remote ORACLE database, but at the time of execution it throws an exception that "Oracle client is not installed". Cant we cannot to ORACLE without client installtion on the machine.If YES, please help me how can we do that. Or should i make any changes to the Configuration file to make it work.

Below is the Configuration file:
This code is inside WEB.CONFIG file
<nhibernate>
<add key="hibernate.dialect" value="NHibernate.Dialect.OracleDialect"/>
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OracleClientDriver"/>
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.connection.connection_string" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.113)(PORT=1521))(CONNECĀ­T_DATA=(SERVICE_NAME=orcl)));User Id=tempUSR;Password=tempPWD)"/>
</nhibernate>


Thanks,
Shiva kumar.


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.