They do end with .hbm.xml but I didn't know it needed the full class name as the file name. I'll try that - thanks!
On Tue, Jun 24, 2014 at 8:24 AM, Ricardo Peres <rjpe...@gmail.com> wrote: > OK, and the mapping files end with .hbm.xml and have the name of the full > class that they refer to? Like HSC.Domain.Role.hbm.xml? > > RP > > > On Tuesday, June 24, 2014 1:20:19 PM UTC+1, Eric Downey wrote: > >> Thanks, yeah I've been bitten by that one before. I've checked and >> rechecked that one - in fact that was the first thing I checked. >> >> >> On Tue, Jun 24, 2014 at 4:52 AM, Ricardo Peres <rjp...@gmail.com> wrote: >> >>> Are the .hbm.xml files being compiled as Resources? They must be... >>> Check the file properties in Visual Studio. >>> >>> RP >>> >>> On Monday, June 23, 2014 6:10:49 PM UTC+1, Oskar Berggren wrote: >>>> >>>> >>>> >>>> >>>> 2014-06-23 18:06 GMT+02:00 Eric Downey <edow...@gmail.com>: >>>> >>>> Okdoke. Just turned on log4net and go the following. Didn't see >>>>>> anything that looked like an error specifically or even where it got hung >>>>>> up. But I'm not an NHibernate expert either ;) >>>>>> >>>>> >>>>> 2014-06-23 11:58:56,744 INFO NHibernate 3.3.1.4000 (3.3.3.GA) >>>>> 2014-06-23 11:58:57,306 INFO Bytecode provider name : lcg >>>>> 2014-06-23 11:58:57,308 INFO Using reflection optimizer >>>>> 2014-06-23 11:58:57,320 DEBUG connection.driver_class=NHiber >>>>> nate.Driver.SqlClientDriver >>>>> 2014-06-23 11:58:57,321 DEBUG connection.connection_string=Data >>>>> Source=DOT6ZF85V1\MSSQLSERVERR2;Initial Catalog=HSC;Integrated >>>>> Security=True;MultipleActiveResultSets=True >>>>> 2014-06-23 11:58:57,322 DEBUG adonet.batch_size=100 >>>>> 2014-06-23 11:58:57,323 DEBUG show_sql=true >>>>> 2014-06-23 11:58:57,323 DEBUG dialect=NHibernate.Dialect.MsS >>>>> ql2008Dialect >>>>> 2014-06-23 11:58:57,324 DEBUG max_fetch_depth=true >>>>> 2014-06-23 11:58:57,324 DEBUG command_timeout=60 >>>>> 2014-06-23 11:58:57,325 DEBUG query.substitutions=true 1, false 0, yes >>>>> 'Y', no 'N' >>>>> 2014-06-23 11:58:57,325 DEBUG current_session_context_class=web >>>>> 2014-06-23 11:58:57,326 DEBUG hbm2ddl.auto=update >>>>> 2014-06-23 11:58:57,326 DEBUG generate_statistics=true >>>>> 2014-06-23 11:58:57,327 DEBUG <-HSC.Domain >>>>> 2014-06-23 11:58:57,328 INFO Searching for mapped documents in >>>>> assembly: HSC.Domain >>>>> 2014-06-23 11:58:57,330 WARN No mapped documents found in assembly: >>>>> HSC.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null >>>>> >>>> >>>> It does confirm that it looks in an assembly but doesn't find anything. >>>> So I guess it's back to triple-checking the initialization logic and >>>> resources, and that the correct files are used during execution. >>>> >>>> /Oskar >>>> >>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "nhibernate-development" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>> topic/nhibernate-development/NKSLCV3gemY/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> nhibernate-development+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "nhibernate-development" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nhibernate-development/NKSLCV3gemY/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > nhibernate-development+unsubscr...@googlegroups.com. > 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 nhibernate-development+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.