如果找不到主键, spring-data-jpa repository.save 如何只执行 update 而不创建新的。 当前,如果找不到,repository.save()将在我的数据库中创建一个即时记录.
確定! 回上一頁