I just upgraded to 3.3.1 from 2.1.2 and seem to have stumbled upon a bug.  
Some of my unit tests are now failing.  Not sure how to fix it other then 
reverting back to 2.1.2.
 
When doing a flush I get an unable to cast ojbect of type 'System.Object' 
to type 'System.String' in a few of my entitys:
 
Test 'ItemBank.UnitTests.ExamSelectionTests.Delete' failed: 
System.InvalidCastException : Unable to cast object of type 'System.Object' 
to type 'System.String'. 
at NHibernate.Type.AbstractStringType.ToString(Object val) 
at NHibernate.Type.NullableType.ToLoggableString(Object value, 
ISessionFactoryImplementor factory) 
at NHibernate.Impl.Printer.ToString(Object entity, EntityMode entityMode) 
at NHibernate.Impl.Printer.ToString(IEnumerator enumerator, EntityMode 
entityMode) 
at 
NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEvent
 
event) 
at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent 
event) 
at NHibernate.Impl.SessionImpl.Flush()

Anyone see this before?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/COem063iPAkJ.
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.

Reply via email to