Hi
Below stated are the contents of config file. And it gives an internal error "ORA-12154: TNS:could not resolve the connect identifier specified".Where as datasource, user id and pssword are correct. Does it need some other property also??
Please help, Its urgent
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory name="northwind">
<property name="dialect">NHibernate.Dialect.OracleDialect</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property>
<property name="connection.connection_string">Data Source=Oracle;User Id=scott;Password=tiger</property>
<property name="connection.isolation">ReadCommitted</property>
<!-- HBM Mapping Files -->
<mapping assembly="EnterpriseSample.Core" />
</session-factory>
</hibernate-configuration>
Thanks
Regards,
Gaurav
|