解决办法:

@GeneratedValue(strategy = GenerationType.IDENTITY)

如图所示:

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

 

相关文章:

  • 2021-05-04
  • 2021-04-30
  • 2021-11-16
  • 2021-07-15
  • 2021-08-25
  • 2021-09-19
  • 2021-06-09
  • 2021-11-07
猜你喜欢
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2019-06-11
  • 2022-12-23
相关资源
相似解决方案