Used Schema on
http://code.google.com/p/codesmith/issues/detail?id=45
received error:
NHibernate.MappingException: property mapping has wrong number of columns:
Northwind.BusinessObjects.Employee.Photo type: Object
at NHibernate.Mapping.PersistentClass.Validate(IMapping mapping)
at NHibernate.Mapping.RootClass.Validate(IMapping mapping)
at NHibernate.Cfg.Configuration.Validate()
at NHibernate.Cfg.Configuration.BuildSessionFactory()
at Northwind.Base.NHibernateSessionManager..ctor() in
NHibernateSessionManager.cs: line 69
at Northwind.Base.NHibernateSessionManager.get_Instance() in
NHibernateSessionManager.cs: line 41
at Northwind.Base.ManagerBase`2..ctor() in ManagerBase.cs: line 49
at Northwind.ManagerObjects.CustomerManager..ctor() in
CustomerManager.Generated.cs: line 23
at Northwind.ManagerObjects.ManagerFactory.GetCustomerManager() in
ManagerFactory.cs: line 66
at Northwind.UnitTests.CustomerTests..ctor() in CustomerTests.generated.cs:
line 18
Original issue reported on code.google.com by bniemyjski on 2 Jul 2009 at 2:35
Original issue reported on code.google.com by
bniemyjski
on 2 Jul 2009 at 2:35