Spring JPA creates new record instead of updating existing record

前端 未结 0 1080
天涯浪人
天涯浪人 2020-12-20 16:10

I am using standard Spring CrudRepository. When attempting to update a record, a new record is created instead even though the primary key is assigned a non-null value.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题