I solved the problem slightly changing the implementation of my user type,
returning from ReturnType the type of the concrete implementation and not
the interface.

Thanks to all for the suggestions.
.m

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Felix Gartsman
Sent: lunedì 12 ottobre 2009 10:33
To: nhusers
Subject: [nhusers] Re: NH Warning (NHProof Alert)


The warning is wrongly worded. The not serializable type is not the custom
type, but its return type, i.e. IUserType.ReturnedType.

On Oct 12, 9:43 am, "Mauro Servienti" <[email protected]>
wrote:
> Hi,
>
> Running NHProof profiling my current solution it issues a warning 
> saying that one of my custom type is not serializable (WARN: custom 
> type is not Serializable). Googling around seems that the warn is 
> emitted by nhibernate if the custom user type does not implement the
ISerializable interface.
>
> My type is marked as [Serializable] and apparently everything work as 
> expected, can I ignore the alert?
>
> .m



--~--~---------~--~----~------------~-------~--~----~
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