Basic collection of code snippets and useful stuff I either find out or find from the web.
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 :)
Software Architect / Freelance Developer working on variety of projects predominatly using .Net Framework 2.0/3/3.5 and Sql Server 2005/08 technologies. I have a keen interest in enterprise level frameworks such as Spring.net and NHibernate 1.2. I am also interested in working with a range of social networking APIs such as Twitter and Facebook. Please comment on any of my blog entries and if you wish to contact me, please click here or visit my website.
No comments:
Post a Comment