Hi,
I've checked in a fix for this bug at
#8217.
Reviewed by Gordon, resynced, build and tested on
MySQL -> OK.
-Adrian
The patch for 320413 looks fine to me. I got the bug numbers
mixed up in my previous response
For bug 320643 if commitToDatabase is
translating the OLE then commitTransactionAfterWriteChanges should never catch
an EclipseLink OLE.
I will try to take a look today and at least check
in 320413 if you do not get to it
first.
--Gordon
Goerler, Adrian wrote:
Hi Gordon,
thanks for checking the patches.
I am on vacation for a while starting form pretty much
right now. Please feel free to take these two bugs. Otherwise we have to
leave them hanging until I'm back.
Best regards,
Adrian
SAP AG
Dietmar-Hopp-Allee 16,
69190 Walldorf, Germany
Sitz der
Gesellschaft/Registered Office: Walldorf, Germany Vorstand/SAP Executive Board:
Henning Kagermann (Sprecher/CEO), Léo Apotheker (stellvertretender
Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich, Gerhard Oswald, John
Schwarz, Peter Zencke
Vorsitzender des
Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso
Plattner Registergericht/Commercial Register Mannheim No HRB
350269
Hello
Adrian, I apologize for not responding to your earlier enquiry
on the RepeatableWriteUnitOfWork. The patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=320643 looks fine but the translation of the
EclipseLink OLE to the JPA OLE needs to happen in 'commitToDatabase' as
this is a common intersection of the em.flush and transaction commit
execution paths. By moving the translation up OLE resulting from
em.flush() will not be translated. I am not sure why you were not
getting the translation with Batch Writing as
'commitToDatabaseWithChangeSet' which your try code is wrapping does call
'commitToDatabase'.
--Gordon
Goerler, Adrian
wrote:
Hi,
I am putting these two patches up for review:
Could someone please have a look?
Tested on MySQL: CORE-LRG (OK besides 3 current issues), JPA-LRG
(OK), WDF (OK)
-Adrian
SAP AG
Dietmar-Hopp-Allee 16, 69190
Walldorf, Germany
Sitz der
Gesellschaft/Registered Office: Walldorf, Germany
Vorstand/SAP Executive Board:
Henning Kagermann (Sprecher/CEO), Léo Apotheker (stellvertretender
Sprecher/Deputy CEO), Werner Brandt, Claus Heinrich, Gerhard Oswald,
John Schwarz, Peter Zencke
Vorsitzender des
Aufsichtsrats/Chairperson of the SAP Supervisory Board: Hasso
Plattner
Registergericht/Commercial
Register Mannheim No HRB 350269
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
|