Hi,
I just tried it and it seems to happen with ICriteria too.
If you could raise a JIRA for it that would be great.
Cheers,
Richard
-----Original Message-----
From: Hainesy
Sent: Tuesday, March 08, 2011 10:34 AM
To: nhusers
Subject: [nhusers] QueryOver, TransformUsing and Cacheable?
Hi
I have a problem using Cacheable()
after .TransformUsing(Transformers.AliasToBean<T>())
I get the error:
Unable to cast object of type '...' to type 'System.Object[]'.
Seems that cacheable doesn't work with the bean transformation?
Anyone else had any problems with this?
--
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.
--
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.