Since we are restricted to using only .NET-defined types, it seems that StringClob isn't a type we can use while using just Attributes as well. I am trying to save large XmlDocuments by persisting their OuterXml property. The simple String type is insufficient, because even when I set the length to some long value, an nvarchar(255) is all I get. But if I use StringClob with the same length, everything works.
So, can we get support added for StringClob through the attributes? Or better yet, get StringClob automatically output instead of just "string" when the string length is obviously too long for NHibernate to persist as a string.
|