Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] how to set <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode> dynamically

Hi,

 

yes, I can confirm this.

 

I just don’t know how to achieve the effect of <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode> dynamically.

 

Best regards,

 

Adrian

 

 

Adrian Görler
SAP AG

Pflichtangaben/Mandatory Disclosure Statements:
http://www.sap.com/company/legal/impressum.epx

 

From: Rohit Banga [mailto:rohit.banga@xxxxxxxxxx]
Sent: Dienstag, 8. Februar 2011 08:55
To: Dev mailing list for Eclipse Persistence Services
Cc: Goerler, Adrian
Subject: Re: [eclipselink-dev] how to set <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode> dynamically

 

Hi Adrian

It seems to me that this feature was added as part of JPA 2.0.
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/cache_usaged#Section_3.7.1_-_The_shared-cache-mode_element
Can someone please confirm this?

On 2/8/2011 1:14 PM, Goerler, Adrian wrote:

Hi,

 

is there a way to specify <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode> dynamically? In my server, I can’t specify this element statically, as it is rejected by my servers JPA (1.0) container.

 

There is the property <property name="eclipselink.cache.shared.default" value="false"/>, but it is not equivalent as it cannot be overridden with @Cacheable.

 

Best regards,

 

Adrian

 

Adrian Görler
SAP AG

Pflichtangaben/Mandatory Disclosure Statements:
http://www.sap.com/company/legal/impressum.epx

 

 

 

 
 
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev

 

--
Thanks and Regards
Rohit Banga
Member Technical Staff
Oracle Server Technologies


Back to the top