You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Bruno René Santos <br...@holos.pt> on 2012/03/29 11:40:42 UTC

Using EhCache

Hello all,

I am trying to use EhCache on my updated app. Anyone has an example of a
ehcache.xml that works well with Cayenne and where will I put it? I have
also read that EhCache doesn't have groups... Is there an alternative?

Regards
Bruno

-- 
Bruno René Santos | brunorene@holos.pt | Gestor de Projectos | Analista |
Programador | Investigador

Holos - Soluções Avançadas em Tecnologias de Informação S.A.
Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient or the person responsible for
delivering the email to the intended recipient, be advised that you have
received this email in error and that any use, dissemination, forwarding,
printing, or copying of this email is strictly prohibited. If you have
received this email in error please notify Bruno René Santos by telephone
on +351 210 438 686

Re: Using EhCache

Posted by Andrus Adamchik <an...@objectstyle.org>.
> 
> I am trying to use EhCache on my updated app. Anyone has an example of a
> ehcache.xml that works well with Cayenne and where will I put it?

While we implemented ehcache provider, didn't have a chance to use it in my apps yet. So maybe someone else has a better insight.

> I have also read that EhCache doesn't have groups... Is there an alternative?

Let me clarify. Actually Cayenne EhCache integration supports groups, just like OSCache. The EhCache-specific limitation is "1 group per query". So if your query uses more than 1 group, all but the first one will be quietly ignored.

Andrus


On Mar 29, 2012, at 12:40 PM, Bruno René Santos wrote:

> Hello all,
> 
> I am trying to use EhCache on my updated app. Anyone has an example of a
> ehcache.xml that works well with Cayenne and where will I put it? I have
> also read that EhCache doesn't have groups... Is there an alternative?
> 
> Regards
> Bruno
> 
> -- 
> Bruno René Santos | brunorene@holos.pt | Gestor de Projectos | Analista |
> Programador | Investigador
> 
> Holos - Soluções Avançadas em Tecnologias de Informação S.A.
> Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
> Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
> Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt
> 
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you are not the intended recipient or the person responsible for
> delivering the email to the intended recipient, be advised that you have
> received this email in error and that any use, dissemination, forwarding,
> printing, or copying of this email is strictly prohibited. If you have
> received this email in error please notify Bruno René Santos by telephone
> on +351 210 438 686