Community
Participate
Working Groups
The JPA 2 specification clarifies the semantics of the refresh operation: §3.2.5: The semantics of the refresh operation, applied to an entity X are as follows: [...] If X is a new, detached, or removed entity, the IllegalArgumentException is thrown. So far, the test TestRefresh assumed that refresh should work on removed entities as well. It has to be adjusted to the clarified spec.
Created attachment 167304 [details] patch for method testRefreshDeleted Adjust the test to conform with the JPA 2.0 spec.
checked in at # 7172 reviewed by Andreas tested on MySQL
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink