Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conditional logic to UserRepository save method
The save method in UserRepository.java has been enhanced. If a User object's UUID is not null, then the User is merged to ensure an update takes place, else it's persisted to create a new user record. This preserves data integrity by avoiding possible unintentional user overwrites.
- Loading branch information