I'm using 1.2.0 version of NHibernate.Actually I want to connect my .NET application to Oracle database using NHibernate but while running the application I'm getting an error Could Not Open Connection.Kindly Help.
Connection string which I'm using is:
<nhibernate>
<add
key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"
/>
<add
key="hibernate.dialect"
value="NHibernate.Dialect.Oracle9Dialect"
/>
<add
key="hibernate.connection.driver_class"
value="NHibernate.Driver.OracleClientDriver"
/>
<add
key="hibernate.connection.connection_string"
value="server=SBCDR2.world;database=SBCD;user=appl_sbcs;pwd=sbcsg2"
/>
</nhibernate>
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html