I have searched and found one reference to this, but it was deemed "unreproduceable" (
http://jira.nhibernate.org/browse/NH-267 ) I wish I couldn't reproduce it, but it's happening. I have MS SQL 2000 and an object type with an ntext column which is getting truncated to 4000 characters when it saves. SQL Profiler shows only 4000 characters in the INSERT statement... but I've verified that the object has much more than that before NHibernate tries to persist it. The property in my mapping file looks like:
<property name="LongStringVal" type="String">
<column name="LongStringVal" length="1073741823" sql-type="ntext" not-null="false"/>
</property>
Does this really not happen for anyone else? What could I be doing wrong? I've changed the "length" param just to see if it would make a difference, but it does not.
PLEASE HELP! Thank you!
-Nick