users@jpa-spec.java.net

[jpa-spec users] [jsr338-experts] Re: unsynchronized application-managed PCs

From: Rainer Kwesi Schweigkoffer <kwesi_at_sap.com>
Date: Wed, 07 Dec 2011 12:46:52 +0100

Hi Linda, all,

Am 6 Dec 2011 um 14:24 hat Linda DeMichiel geschrieben:

> That said, if we do extend the notion of SynchronizationType to JTA
> application-managed PCs, it seems clearest to me to define that there
> is no default.

Well, there is, in the sense that if I don't set a
SynchronizationType I'll get the old behaviour for backwards
compatibility.

Thus, I think we have to describe the differences clearly in one
place in the spec. We should also, I believe, say what happens if
someone tries to set a SynchronisationType for a resource-local
entity manager. Always throw an exception ? Only for
SynchronizationType.UNSYNCHRONIZED ?

Kind regards
Rainer
---
Rainer Schweigkoffer                      SAP AG Walldorf
Business Solution & Technology            TD Core JI
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, 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.