I am facing an exception while using Nhibernate 3.3.3.GA product version, 
which says "The length of the string value exceeds the length configured in 
the mapping/parameter."

and this is happening after we have upgraded the Nhibernate version from 
3.1.0.4000 to 3.3.3.GA version.

I am facing this problem, even after having the length on the column 
defined.

<property name="OldValue" type="string">
      <column name ="OldValue" length="2147483647" not-null="false" />
</property>

and definitely the length of the string is not exceeding.

Any fix or workaround? 

On Friday, 27 April 2012 14:47:48 UTC+5:30, Fabio Maulo wrote:
>
> It is "just" a breaking change reported in the releasenote.txt shipped 
> with the binaries.
>
> On Thu, Apr 26, 2012 at 9:14 AM, nfplee <[email protected] 
> <javascript:>>wrote:
>
>> Hi, i have just upgraded an application to version 3.3.0GA and have 
>> notificed a bug when inserting large amounts of data into a NVarChar(MAX) 
>> field in the database (also tested with NText). It throws the following 
>> error:
>>
>> The length of the string value exceeds the length configured in the 
>> mapping/parameter.
>>
>> With the following mapping:
>>
>> <property name="Body">
>>   <column name="Body" />
>> </property>
>>
>> But it works fine with the following:
>>
>> <property name="Body">
>>   <column name="Body" length="2147483647" />
>> </property>
>>
>> The original mapping worked fine before. This looks like a pretty bad bug 
>> to me. I was wondering if anyone else could confirm this.
>>
>> Thanks
>>
>
>
>
> -- 
> Fabio Maulo
>
>  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to