You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in Vlad Mihalcea's blog, the call to merge for an entity still attached to a persistence context can lead to superflous code execution and event triggering in persistence providers.
We should guard the call to EntityManager.merge(…) with a check whether the given entity is currently attached
Oliver Drotbohm opened DATAJPA-931 and commented
As described in Vlad Mihalcea's blog, the call to merge for an entity still attached to a persistence context can lead to superflous code execution and event triggering in persistence providers.
We should guard the call to
EntityManager.merge(…)
with a check whether the given entity is currently attachedReference URL: https://vladmihalcea.com/2016/07/19/jpa-persist-and-merge/
Issue Links:
Referenced from: pull request #237, and commits a2d3acf, 68fcf6e, 8265daf, 476baa4, f3b9131, c47ff56, 26f70bf
Backported to: 2.0.3 (Kay SR3)
The text was updated successfully, but these errors were encountered: