Hi, I'm trying to set my .Net 3.5 VS 2008 project up to use Nhibernate and am getting the following error back:
TestProject.PlnEnfTest.FetchApplicationByReference : NHibernate.HibernateException : Could not create the driver from oracle.jdbc.driver.OracleDriver.
----> System.TypeLoadException : Could not load type oracle.jdbc.driver.OracleDriver. Possible cause: no assembly name specified.
The following shows my hibernate.cfg.xml file:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="dialect">NHibernate.Dialect.OracleDialect</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.connection_string">Data Source=MVMD1; User ID=M3; Password=M3</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="show_sql">true</property>
<property name="max_fetch_depth">3</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
<mapping assembly="M3PlnEnf.BusinessEntities" />
</session-factory>
</hibernate-configuration>
Help!!