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
WHen using MergedForm in the controller it returns the before and after merge objects. If a find repo call is made with the entity in it that is also used in the MergePair class before the save is done the result will already be updated instead of the one from the database.
In MergePair.merge() if the target uses the findAndDetach() instead of find() this problem wont occur and the repo find will retrieve the correct data from the database and not the altered hibernate cached version.
The text was updated successfully, but these errors were encountered:
WHen using MergedForm in the controller it returns the before and after merge objects. If a find repo call is made with the entity in it that is also used in the MergePair class before the save is done the result will already be updated instead of the one from the database.
In MergePair.merge() if the target uses the findAndDetach() instead of find() this problem wont occur and the repo find will retrieve the correct data from the database and not the altered hibernate cached version.
The text was updated successfully, but these errors were encountered: