users@jpa-spec.java.net

[jpa-spec users] [jsr338-experts] Re: short question on Cacheable(false) and shared-cache-mode == ALL

From: Steve Ebersole <steve.ebersole_at_redhat.com>
Date: Wed, 19 Dec 2012 09:09:42 -0600

According the the spec, if the user specifies shared-cache-mode == ALL
caching is enabled across all entities regardless of what individual
entity classes specify for @Cacheable (includnhg whether they have that
annotation or not).

On Wed 19 Dec 2012 08:36:15 AM CST, Christian von Kutzleben wrote:
> Dear group,
>
> Is our understanding correct, that instances of entity classes, which
> are marked with Cacheable(false), will be
> cached, if the shared-cache-mode is set to ALL?
>
> Thank you!
>
> Christian
>
> --
> Christian von Kutzleben
> Chief Engineer | Versant GmbH
> (T) +49 40 60990-0
> (F) +49 40 60990-113
> (E) cvkutzleben_at_versant.com <mailto:cromberg_at_versant.com>
> www.versant.com <http://www.versant.com> | www.db4o.com
> <http://www.db4o.com>
>
> --
> Versant
> GmbH is incorporated in Germany. Company registration number: HRB
> 54723, Amtsgericht Hamburg. Registered Office: Halenreie 42, 22359
> Hamburg, Germany. Geschäftsführer: Bernhard Wöbker, Volker John
>
> CONFIDENTIALITY
> NOTICE: This e-mail message, including any attachments, is for the sole
> use of the intended recipient(s) and may contain confidential or
> proprietary information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> immediately contact the sender by reply e-mail and destroy all copies of
> the original message.