spring

(11)

Spring JPA 创建 MySQL 数据表的自增 ID

首先看一下大部分教程,和 Spring JPA 入门文档上的写法: ## 代码示例 ``` @Data @Entity public class Article { @Id @GeneratedValue(