Hey. Thanks for the new release and your continued efforts.
So far I've had a couple of issues converting from 1.0.1.
- First the following line fails to work. It was fine in 1.0.1.
Code:
<property name="WeekDay" column="WeekDay" type="System.DayOfWeek" not-null="true" />
with the exception:
Code:
Could not compile the mapping document
NHibernate.MappingException: could not interpret type: System.DayOfWeek
- Secondly I get a strange mapping exception with one class which worked fine with 1.0.1. The mapping hasn't been changed and everything looks fine to me. Even stranger is that the initial save works perfectly fine.
Code:
NHibernate.LazyInitializationException: Failed to lazily initialize a collection ---> NHibernate.MappingException: Invalid mapping information specified for type WasteLinkWebService.Entity.Generator.Inspection, check your mapping file for property type mismatches ---> System.InvalidCastException: Specified cast is not valid.
at NHibernate.Persister.GetSetHelper_WasteLinkWebService_Entity_Generator_Inspection.SetPropertyValues(Object obj, Object[] values)
Is there any easy way I can find out which property has the issue? I've been unable to find the cause so far.