On 21/08/07, Padraic Hannon <[EMAIL PROTECTED]> wrote:
> I concur, relational semantics should be buried within the persistence
> managers. However, I think that one can still delegate transaction
> handling using JTA to the container rather than using synchronization
> and connection.autocommit(false).

One should keep in mind that there is one good reason for JR to
synchronize writes and handle transactions itself: if users
simultaneously change the same node, these changes may either be
conflicting or non-conflicting and resolving this requires quite a
deep knowledge of a node's internal semantics. If one removes
synchronization completely and relies on the database to tell whether
such a change is allowed or not, I can very well imagine that one ends
up either with non-conflicting changes being rejected, or with
conflicting changes being silently merged.

Dominique

Reply via email to