SpringData JPA实现增删改查 application.properties配置 一、创建实体类并自动生成数据库表 二、dao层继承JpaRepository 三、controller中增加操作 结果: 删除操作: 修改操作: