Customer.hbn.xml => Customer.hbm.xml ? Trần Phước Hùng (đã ký)
2010/12/3 CarbonMan <[email protected]> > Wondering if someone can help me. Running the unit test under Gallio > 3.2 with NH3.0.0.GA under VS2005. I get the following: > > NHibernate.HibernateException: Unable to locate persister: > DataTransfer.Customer > TargetSite: Void OnLoad(NHibernate.Event.LoadEvent, > NHibernate.Event.LoadType) > HelpLink: null > at > NHibernate.Event.Default.DefaultLoadEventListener.OnLoad(LoadEvent > event, LoadType loadType) > at NHibernate.Impl.SessionImpl.FireLoad(LoadEvent event, LoadType > loadType) > at NHibernate.Impl.SessionImpl.Get(String entityName, Object id) > at NHibernate.Impl.SessionImpl.Get(Type entityClass, Object id) > at NHibernate.Impl.SessionImpl.Get[T](Object id) > at DataAccessLayer.NhibernateDataProvider.GetCustomerById(Int32 > customerId) > > Don't know what is going on, everything builds correctly and > Customer.hbn.xml is an embedded resource. > > Any ideas? > > -- > 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]<nhusers%[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.
