Henri,
Where are you getting your information from? According to my copy of
Hibernate in action (pp 291 Secion 7.6.3).
"Note that the query cache does *not* cache the entities returning
in the query reslut set, just the identifier values."
Am I missing something here?
--- Pat
> -----Original Message-----
> From: Henri Dupre [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 24, 2005 9:12 AM
> To: Patrick Casey
> Cc: Tapestry users
> Subject: Re: Hibernate session model
>
> On 9/23/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > I rather have a DB Query than a lazy exception. And not for every
> call!
> > > The hibernate cache is here for that.
> >
> > If memory serves, the hibernate cache caches keys, not objects.
>
> This is not true. The hibernate second level cache is a map with <key,
> object>,
> If your key is found in the cache then it retrieves the object (memory
> or file depending on your cache configuration).
> We achieve a high performance by having it properly configured on a
> per-class basis even with complex queries.
>
> Henri.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]