http://216.121.112.228/browse/NH-2576


On Mar 14, 1:59 pm, "Richard Brown \(gmail\)"
<[email protected]> wrote:
> Hi Chris,
>
> Don't worry - if you reference this thread in the JIRA, that will be enough
> for it not to get missed.
>
> And, when I tried it, it doesn't actually matter if you use the cache or not
> ... the query blows up anyway (and it shouldn't).
>
> Cheers,
>     Richard
>
>
>
>
>
>
>
> -----Original Message-----
> From: Hainesy
> Sent: Monday, March 14, 2011 9:23 AM
> To: nhusers
> Subject: [nhusers] Re: QueryOver, TransformUsing and Cacheable?
>
> 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 
> 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