Table 'DBNAME.hibernate_sequence' doesn't exist

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

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


    org.sprin         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 18:22

    Just in case you migrate from a previous boot version:

    setting the following in your application.yml will prevent hibernate from looking for hibernate_sequence entries.

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

    That was the default in Boot 1.x

提交回复
热议问题