He said so. Eric: what about the .NET code? Are you doing a Configuration.Configure() ?
RP On Tuesday, June 24, 2014 5:52:05 PM UTC+1, Richard Wilde wrote: > > Does HSC.Domain assembly contain the *.hbm.xml files as embedded > resources? > > Sent from my Windows Phone > ------------------------------ > From: Eric Downey <javascript:> > Sent: 24/06/2014 17:41 > To: [email protected] <javascript:> > Subject: Re: [nhibernate-development] Re: NHibernate.MappingException No > persister > > Here's what's in my app.config file for NHibernate: >> > > <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> > <session-factory> > <property > name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> > <property name="connection.connection_string"> > Data Source=DOT6ZF85V1\MSSQLSERVERR2;Initial > Catalog=HSC;Integrated Security=True;MultipleActiveResultSets=True > </property> > <property name="adonet.batch_size">100</property> > <property name="show_sql">false</property> > <property > name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> > <property name="max_fetch_depth">true</property> > <property name="command_timeout">60</property> > <property name="query.substitutions">true 1, false 0, yes 'Y', no > 'N'</property> > <property name="current_session_context_class">web</property> > <property name="show_sql">true</property> > <property name="hbm2ddl.auto">update</property> > <property name="generate_statistics">true</property> > <mapping assembly="HSC.Domain"/> > </session-factory> > </hibernate-configuration> > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "nhibernate-development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:> > . > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
