Richard

I wouldn't mind doing that, but I'm not entirely sure how to
effectively write a good test for whether NHibernate has hit the cache
or the DB.

Any ideas?

Chris



On Mar 12, 11:01 pm, "Richard Brown \(gmail\)"
<[email protected]> wrote:
> 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 
> athttp://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