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:[email protected]] 
Enviada: segunda-feira, 25 de Outubro de 2010 13:56
Para: [email protected]
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 <[email protected]> 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
>
>

Reply via email to