Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Fix merge abuse #1

Open
schnapster opened this issue Dec 18, 2017 · 0 comments
Open

Fix merge abuse #1

schnapster opened this issue Dec 18, 2017 · 0 comments
Milestone

Comments

@schnapster
Copy link
Owner

merge() need not be called on managed entities. This is an anti pattern and actually impacts performance.
See here:
https://vladmihalcea.com/2016/07/19/jpa-persist-and-merge/

@schnapster schnapster added this to the 0.1.0 milestone Jan 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant