After springboot1.X upgrade to springboot2.0, project start error: Table 'xxx.hibernate_sequence' does not exist

Increased profile configuration (not tested)

spring.jpa.hibernate.use-new-id-generator-mappings=false 

Or
Entity class in the primary key comment policy modification is GenerationType.IDENTITY

@GeneratedValue(strategy = GenerationType.IDENTITY)

To note that, if such an association in other classes, should also be amended along

Guess you like

Origin blog.csdn.net/l1h2l3/article/details/86749164