Community
Participate
Working Groups
See Bug 210270. Bug 210270 fixed some tests. Some additional tests are failing because of the temporal precision issue detailed in this bug. Failures are periodic and of the fom: Internal Exception: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '9801-2-2010-11-03 12:27:17' for key 1 Error Code: 1062 Call: INSERT INTO EMPLOYEE_HIST (EMP_ID, F_NAME, L_NAME, GENDER, START_TIME, END_TIME, END_DATE, START_DATE, ADDR_ID, MANAGER_ID, VERSION, ROW_START) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [9801, JohnMU, Way, M, 08:00:00, 17:30:00, null, 1991-11-11, 1109, 9802, 2, 2010-11-03 12:27:17.966] Query: UpdateObjectQuery(Employee: JohnMU Way)
Targetting for 2.1.2 because these are LRG failures.
Fixed by wrapping tests in the same way as the fix listed in the related bug above. Change removes any restriction on which tests are wrapped. (Previously on tests with the string WriteObjectTest in their name were wrapped) Tested with HistoryTests on MySQL Reviewed by Chris Delahunt and Andrei Ilitchev
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink