put a [Serializable] attribute above the xmltype class

2010/3/19 Chris J <[email protected]>

> I am trying to map fields in NHibernate to SQL Server 2008 xml fields.
> I followed the implementation described here:
> http://community.jboss.org/wiki/WorkingwithXMLFieldsinNHibernate.
> Ayenda has a blog post with code that is very similar to this
> approach.
>
> With an XmlType that implements IUserType, I am successful and getting
> XML data to and from the XML fields in the database. However,
> NHibernate logging always generates a warning for the fields that use
> the user type:
>
>    CustomType - custom type is not Serializable:
> Services.DAL.XmlType.
>
> Is there a way to resolve this warning?
>
> Thanks.
>
> --
> 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]<nhusers%[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