SpringBoot+Jpa测试自增时报错Springboot-jpa Table 'sell.hibernate_sequence' doesn't exist

解决办法:

@GeneratedValue(strategy = GenerationType.IDENTITY)

如图所示:

原文地址:https://www.cnblogs.com/guo-xu/p/10691111.html