SpringBoot 1.3.0 support hibernate 5?

前端 未结 3 1538
难免孤独
难免孤独 2020-12-16 14:56

I\'m a little confused about SpringBoot\'s (1.3.0) support of Hibernate5. The reference lists a dependency on hibernate 4.3.11.Final but it also lists a dependency on Sprin

3条回答
  •  无人及你
    2020-12-16 15:13

    Thanks guys! after many trials, this solution worked for me like a charm! I implemented custom strategy and set them in application.yml as shown below:

       jpa:
        database: MYSQL
        database-platform: org.hibernate.dialect.MySQL5Dialect
        properties:
            hibernate:
                implicit_naming_strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
                physical_naming_strategy: com.quicken.ups.entities.utils.DBFieldNamingStrategy
    

提交回复
热议问题