Thursday, 13 September 2007

Long Text Fields in NHibernate

Beware if you do not include type="StringClob" on a large text field in the nhibernate mapping it will automatically chop to around 2000 characters - this is because it defaults the size when creating the parameter. You can avoid this by using the above :)

No comments: