Hi all,

Could anyone please provide me a working Oracle 9i/10g nhibernate
configuration to put on app/web.config.

And does anyone have any idea why the oracle configuration does NOT
appear in any documentation or samples?

I couldnt make nhib work whatever i did. It compiles about the
configuration settings in my web.config and throws the

exception of:

Could not load type NHibernate.Dialect.Oracle10gDialect. Possible
cause: no assembly name specified

I am using Oracle 10g, .NET 3.5, Nhibernate 2


Below is what i've tried:

<configSections>
                                        <section name="hibernate-configuration"
type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"/>

        </configSections>

        <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">

                <session-factory>
      <property
name="connection.provider">NHibernate.Connection.DriverConnectionProvider</
property>
      <property name="dialect">NHibernate.Dialect.Oracle10gDialect</
property>
                        <property
name="connection.driver_class">NHibernate.Driver.OracleDataClientDriver</
property>
                        <property name="connection.connection_string">
        User ID=xx;Password=xx;Data Source=xx
      </property>
                        <mapping assembly="NhibDal"/>
                </session-factory>

        </hibernate-configuration>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to