2014-03-05 13:08 GMT+01:00 <stephan.ku...@segelboerse-darmstadt.de>: > While researching for a solution to another problem, I upgraded my program > (and it's unit tests) to FluentNHibernate 1.4.0.0. > *Suddenly, some unit test which were running before *were failing. > The reason was that I passed in a string of length 51 to a column of size > 50. >
> After upgrading. > (2.5.2.0) Castle.Core.dll > (3.2.0.4000) Iesi.Collections.dll > (3.1.0.4000) NHibernate.dll > (3.3.3.4001) NHibernate.ByteCode.Castle.dll > These version numbers seem inconsistent (also note that file version is more reliable than assembly version), so I'm going to assume that you have actually upgraded from NH3.1 to 3.3. NH before 3.3 interact with ADO.NET in such a way that strings and binary blobs would be silently truncated in some circumstances. This was fixed in the 3.3.0 release. See https://nhibernate.jira.com/browse/NH-2528. /Oskar -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at http://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/groups/opt_out.