|Re: [eclipselink-dev] bugs 320413 and 320643 - batching on MySQL - please review|
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'.
Goerler, Adrian wrote:
Back to the top