jsr338-experts@jpa-spec.java.net

[jsr338-experts] Re: Some remainders

From: Linda DeMichiel <linda.demichiel_at_oracle.com>
Date: Fri, 27 May 2011 11:30:43 -0700

Hi Rainer,

On 5/26/2011 3:44 AM, Rainer Kwesi Schweigkoffer wrote:
> Hi Linda, all,
>
> Linda DeMichiel, am 25 May 2011 hast Du um 14:05 zum Thema "Re: [jsr338-experts] 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.

>>> 4.8 p. 175
>>>
>>> 2nd paragraph : To my understanding the first element in the
>>> enumeration should read "an identification variable that ranges over an
>>> entity or embeddable abstract schema type".
>>>
>>
>> The embeddable case is covered under single-valued path expression. I
>> have inserted "(range variable)" after "entity" to clarify the identification
>> variable term.
>
> Actually I was thinking in terms of something like
>
> SELECT DISTINCT e, em FROM MyEntity e
> JOIN e.myCollectionOfEmbeddables em
>

Thanks -- this could have been a collection of basic types as well, so I have just
removed the word "entity".

>
>>> 8.2.1.10 p. 349
>>>
>>> Example 4 : Why is orm.xml not considered here ? Neither 8.2.1.6 nor
>>> 8.2.1.6.2 seem to describe this impact of exclude-unlisted-classes.
>>>
>>
>> Orm.xml is presumed to not exist.
>
> Since the (non) existence of an orm.xml is reflected by an if statement
> in the other examples' explanations it might be worth mentioning.
>

Sure -- I have added a note.

>>> 9.3. p. 361 2nd paragraph 2nd sentence and 9.3.1 p. 361 3rd paragraph
>>> of javadoc
>>>
>>> Either the subject or the predicate requires an ending "s"
>>>
>>
>> This is correct use of the subjunctive in English.
>
> Sorry, hadn't thought of it this way.
>

No problem -- the subjunctive isn't as obvious in English as it is in German :-)

Best regards, and thanks again for your feedback,

-Linda


> 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.
>
>