We're updating the issue view to help you get more done. 

EntityManager.refresh(Object) not working

Description

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

Environment

None

Status

Assignee

Unassigned

Reporter

Felix Feisst

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.0.CR1

Priority

Major