Table 'DBNAME.hibernate_sequence' doesn't exist

前端 未结 5 1358
离开以前
离开以前 2020-12-29 17:45

I have a SpringBoot 2.0.1.RELEASE application using spring data / jpa


    org.sprin         


        
5条回答
  •  旧时难觅i
    2020-12-29 18:15

    Add the following config in your application.yml:

    spring: jpa: hibernate: use-new-id-generator-mappings: false

    Or this if you use application.properties

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

提交回复
热议问题