You have to tell of that it is a clobtype.
On Aug 27, 2012 10:43 PM, "Phil Haselden" <[email protected]> wrote:

> I asked a question on StackOverflow about this:
> http://stackoverflow.com/questions/12105929/how-to-map-a-varcharmax-column-in-nhibernate-hbm-xml-mapping-files
> .
>
> A suggestion was to do the following in the hbm.xml file:
>
> <property name="MyBigAnsiColumn" type="AnsiString" length="1000000" />
>
> However when I try to save 8001 chars to that column I get a
> NHibernate.PropertyValueException. If the column contains 8000 chars it
> works.
>
> How do I map this type of column so that I can make use of the full size?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nhusers/-/Tnv_qlnQlxUJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to