Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

NHibernate doesn't detect long blobcolums correctly #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by tdupont...@gmail.com on 28 Sep 2009 at 3:58