Well the question pretty much says everything. Using JPARepository how do I update an entity?
JPARepository has only a save method, which does not t
spring data save() method will help you to perform both: adding new item and updating an existed item.
save()
Just call the save() and enjoy the life :))