Community
Participate
Working Groups
The test ComplexMultipleUnitOfWorkTest and likely others hang on MaxDB. The issue seems to be the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=240210: The problem is transaction isolation: the common pattern for the test is one connection updating a database row, then another connection trying to read the row while the first connection has not yet committed the transaction. On MaxDB, the second transaction will hang as MaxDB has a default IsolationLevel READ COMMITED. As a workaround, the isolation level of the connection used by the second connection can be temporaily reduced to READ UNCOMITTED.
Created attachment 180061 [details] proposed patch temporarily reducing the ISO level to READ UNCOMITTED
Created attachment 180072 [details] proposed patch temporarily reducing the ISO level to READ UNCOMITTED Proposed patch now deregisters the iso level change listeners in the affected tests.
Reviewed by Andrei. Tested on MaxDB. Checked in at #8286.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink