|
When invoking EntityManager.refresh(Object), the specified entity does not get refreshed wrt. the current database state.
Setup for reproduction of this bug:
1. Load an already existent entity via the entity manager 2. Directly (not using the entity manager) change the row in the database table that corresponds to the in step 1 loaded entity. 3. Call EntityManager.refresh on the in step 1 loaded entity 4. The entity does not get refreshed with the value that has been set in step 2
|