So I have an NHibernate mapping file with the following property:
<property name="FullName" column="FullName" type="string" not-null="true" />
If I set the length="50" for example, NHibernate will truncate the string when inserting into the database. If I remove the length property, that database throws the exception like it should; saying that it cannot insert the record. Is this normal behavior? If so, what is the purpose of the length property. Perhaps I've configured NHibernate incorrectly or am not appreciating the situation. Any thoughts/ideas would be great.