J'ai la suite hibernate.cfg.xmlNHibernate - n'a pas pu trouver (oracle) dialecte dans la configuration
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory>
<property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property>
<property name="connection.connection_string">
User ID=user;Password=password;Data Source=database
</property>
<property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.Oracle9Dialect</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory>
Maintenant, je reçois l'erreur suivante:
failed: NHibernate.MappingException : Could not compile the mapping document: Mob.Icecube.Data.NH.Mappings.Customer.hbm.xml ----> System.InvalidOperationException : Could not find the dialect in the configuration
Quelqu'un peut-il aidez-moi pourquoi il ne peut pas trouver le conducteur? Quelques infos supplémentaires ... Il est en cours d'exécution au moment que dans une application UnitTest j'ai ajouté le NHibernate et System.Data.OracleClient aux références du projet En utilisant la dernière version NHibernate (2.2 beta)
Merci à avance
J'ai le client installé mais je ne trouve pas l'Oracle.DataAccess.dll n'importe où sur le lecteur. Là encore, j'utilise ici le fournisseur de données donné avec .NET (System.Data.OracleClient.dll). L'erreur est sur le dialecte, pas le pilote (encore): D –