Thank you Will work on it. On Wed, Feb 23, 2011 at 9:42 PM, Fabio Maulo <[email protected]> wrote:
> and it is a new impl. from scratch > > > On Wed, Feb 23, 2011 at 11:16 AM, cremor <[email protected]> wrote: > >> It's called "NHibernate.Dialect.Oracle9iDialect" (note the "i" after >> "9"). >> >> On Feb 23, 12:36 pm, srinivas rao <[email protected]> wrote: >> > Right now I am working on migrating NH 1.2 to NH 3.0. I am wondering >> > if I can use 'NHibernate.Dialect.Oracle9Dialect' as the dialect in >> > hibernate configuration. >> > >> > When I tried to use 9Dialecty I get below exception when the assembly >> > was loaded. I guess something has missed in my mapping file. If anyone >> > of you have faced this exception let me know ur thoughts on this. >> > >> > Exception Type: NHibernate.MappingException >> > Message: Could not compile the mapping document: XXXXXX >> > Data: System.Collections.ListDictionaryInternal >> > TargetSite: Void LogAndThrow(System.Exception) >> > HelpLink: NULL >> > Source: NHibernate >> > >> > StackTrace Information Details: >> > ====================================== >> > at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception) in >> > d:\CSharp\NH\nhibernate\src\NHibernate\Cfg\Configuration.cs:line 340 >> > at NHibernate.Cfg.Configuration.AddDeserializedMapping(HbmMapping >> > mappingDocument, String documentFileName) in d:\CSharp\NH\nhibernate >> > \src\NHibernate\Cfg\Configuration.cs:line 528 >> > at >> > NHibernate.Cfg.Configuration.AddValidatedDocument(NamedXmlDocument >> > doc) in d:\CSharp\NH\nhibernate\src\NHibernate\Cfg >> > \Configuration.cs:line 497 >> > at NHibernate.Cfg.Configuration.ProcessMappingsQueue() in d:\CSharp >> > \NH\nhibernate\src\NHibernate\Cfg\Configuration.cs:line 1830 >> > at >> > NHibernate.Cfg.Configuration.AddDocumentThroughQueue(NamedXmlDocument >> > document) in d:\CSharp\NH\nhibernate\src\NHibernate\Cfg >> > \Configuration.cs:line 1821 >> > at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader, >> > String name) in d:\CSharp\NH\nhibernate\src\NHibernate\Cfg >> > \Configuration.cs:line 1814 >> > at NHibernate.Cfg.Configuration.AddInputStream(Stream >> > xmlInputStream, String name) in d:\CSharp\NH\nhibernate\src\NHibernate >> > \Cfg\Configuration.cs:line 630 >> > at NHibernate.Cfg.Configuration.AddResource(String path, Assembly >> > assembly) in d:\CSharp\NH\nhibernate\src\NHibernate\Cfg >> > \Configuration.cs:line 668 >> > at NHibernate.Cfg.Configuration.AddAssembly(Assembly assembly) in d: >> > \CSharp\NH\nhibernate\src\NHibernate\Cfg\Configuration.cs:line 761 >> > at NHibernate.Cfg.Configuration.AddAssembly(String assemblyName) in >> > d:\CSharp\NH\nhibernate\src\NHibernate\Cfg\Configuration.cs:line 744 >> > at >> > NHibernate.Cfg.Configuration.DoConfigure(ISessionFactoryConfiguration >> > factoryConfiguration) in d:\CSharp\NH\nhibernate\src\NHibernate\Cfg >> > \Configuration.cs:line 1539 >> > at NHibernate.Cfg.Configuration.Configure() in d:\CSharp\NH >> > \nhibernate\src\NHibernate\Cfg\Configuration.cs:line 1398 >> > >> > Exception Information Details: >> > ====================================== >> > Exception Type: NHibernate.HibernateException >> > Message: Could not instantiate dialect class >> > NHibernate.Dialect.Oracle9Dialect >> > Data: System.Collections.ListDictionaryInternal >> > TargetSite: NHibernate.Dialect.Dialect >> > InstantiateDialect(System.String) >> > HelpLink: NULL >> > Source: NHibernate >> > >> > StackTrace Information Details: >> > ====================================== >> > at NHibernate.Dialect.Dialect.InstantiateDialect(String >> > dialectName) in d:\CSharp\NH\nhibernate\src\NHibernate\Dialect >> > \Dialect.cs:line 191 >> > at NHibernate.Dialect.Dialect.GetDialect(IDictionary`2 props) in d: >> > \CSharp\NH\nhibernate\src\NHibernate\Dialect\Dialect.cs:line 180 >> > at NHibernate.Cfg.Configuration.AddDeserializedMapping(HbmMapping >> > mappingDocument, String documentFileName) in d:\CSharp\NH\nhibernate >> > \src\NHibernate\Cfg\Configuration.cs:line 516 >> > >> > Exception Information Details: >> > ====================================== >> > Exception Type: System.TypeLoadException >> > Message: Could not load type NHibernate.Dialect.Oracle9Dialect. >> > Possible cause: no assembly name specified. >> > TypeName: >> > Data: System.Collections.ListDictionaryInternal >> > TargetSite: System.Type >> > TypeFromAssembly(NHibernate.Util.AssemblyQualifiedTypeName, Boolean) >> > HelpLink: NULL >> > Source: NHibernate >> > >> > StackTrace Information Details: >> > ====================================== >> > at >> > NHibernate.Util.ReflectHelper.TypeFromAssembly(AssemblyQualifiedTypeName >> > name, Boolean throwOnError) in d:\CSharp\NH\nhibernate\src\NHibernate >> > \Util\ReflectHelper.cs:line 291 >> > at NHibernate.Util.ReflectHelper.ClassForName(String name) in d: >> > \CSharp\NH\nhibernate\src\NHibernate\Util\ReflectHelper.cs:line 181 >> > at NHibernate.Dialect.Dialect.InstantiateDialect(String >> > dialectName) in d:\CSharp\NH\nhibernate\src\NHibernate\Dialect >> > \Dialect.cs:line 187 >> >> -- >> 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. >> >> > > > -- > Fabio Maulo > > > -- > 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. > -- 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.
