Hi Linda,
Linda DeMichiel, am 27 May 2011 hast Du um 11:30 zum Thema "[jsr338-experts] Re: Some remainders" geschrieben :
> >>> 3.7.2 p. 107
> >>>
> >>> What is "update" aiming at for CacheStoreMode USE ?
> >>>
> >>
> >> I'm not sure I understand the question. Update updates the cache; use of refresh
> >> should update as well I believe.
> >
> > Thus it wants to say that with mode USE entities are updated in 2nd
> > level cache, but not in 1st level one, doesn't it ?
> >
>
> You mean in the persistence context? It depends on who is causing the action
> on the cache. Perhaps I am not following you though-- could you be more specific
> about the case you have in mind.
the javadocs read to me as if with store mode REFRESH already cached
items were updated when being read from the database while with USE
they were not. So I was wondering, what is being updated with mode USE
then.
But probably it just wants to say that with REFRESH already cached
items must be updated, while with USE they may or may not be updated.
Might be worth making that more explicit, though.
Best regards
Rainer
---
Rainer Schweigkoffer SAP AG Walldorf
Business Solution & Technology TD Core JS&I
Technology Development Dietmar-Hopp-Allee 16
Java Server Core D-69190 Walldorf
JEE Implementation Group phone: +49 6227 7 45305
Building 3, I.3.14 fax: +49 6227 7 821177
rainer.schweigkoffer_at_sap.com
Sitz der Gesellschaft/Registered Office: Walldorf, Germany
Vorstand/SAP Executive Board: Werner Brandt, Angelika Dammann,
Bill McDermott (Co-CEO), Gerhard Oswald, Vishal Sikka,
Jim Hagemann Snabe (Co-CEO)
Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory
Board: Hasso Plattner
Registergericht/Commercial Register Mannheim No HRB 350269
Diese E-Mail kann Betriebs- oder Geschaeftsgeheimnisse oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail
irrtuemlich erhalten haben, ist Ihnen eine Verwertung des Inhalts,
eine Vervielfaeltigung oder Weitergabe der E-Mail ausdruecklich
untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die
empfangene E-Mail. Vielen Dank.
This e-mail may contain trade secrets or privileged, undisclosed, or
otherwise confidential information. If you have received this e-mail
in error, you are hereby notified that any review, copying, or
distribution of it is strictly prohibited. Please inform us
immediately and destroy the original transmittal. Thank you for your
cooperation.