cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno René Santos <brunor...@holos.pt>
Subject RE: Using Cache?
Date Mon, 25 Oct 2010 13:14:06 GMT
I did a named query on the modeller, with shared cache. But when I see the log
from cayenne i have the query repeating itself with different processing
times(e.g. the 1st one takes 100ms and then the following 0-2 ms). A processing
time of 0-2 ms means that cayenne is going to the cache? Or there is some sort
of description on the log for a cache retrieval?

Bruno

-----Mensagem original-----
De: Michael Gentry [mailto:mgentry@masslight.net] 
Enviada: segunda-feira, 25 de Outubro de 2010 13:56
Para: user@cayenne.apache.org
Assunto: Re: Using Cache?

How are you doing your query?  SelectQuery should hit the database
again.  Also, your logs would show the SelectQuery hitting the
database.

mrg


On Sat, Oct 23, 2010 at 7:29 PM, Bruno René Santos <brunorene@holos.pt> wrote:
> Hello all,
>
> How can I know if Cayenne is going to the cache to retrieve query results or
> database items? The regular log says something?
>
> Thank you
> Bruno Santos
>
>


Mime
View raw message