Skip to content

Instantly share code, notes, and snippets.

@hemanth23
Created June 6, 2013 15:17
Show Gist options
  • Save hemanth23/5722313 to your computer and use it in GitHub Desktop.
Save hemanth23/5722313 to your computer and use it in GitHub Desktop.
The length of the string value exceeds the length configured in the mapping/parameter.
We are 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. and below is the mapping info
<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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment