JPA操作MySQL数据库时报错:java.sql.SQLSyntaxErrorException: Table ‘test.hibernate_sequence’ doesn’t exist 解决方案,明确指定主键的自增方案,比如:
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
JPA操作MySQL数据库时报错:java.sql.SQLSyntaxErrorException: Table ‘test.hibernate_sequence’ doesn’t exist 解决方案,明确指定主键的自增方案,比如:
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
微信扫码登录