Hibernate naming strategy changing table names

前端 未结 5 1955
别那么骄傲
别那么骄傲 2020-12-05 12:01

I\'m a little bit confused by hibernates (version 5.1) naming strategy - namely it changes my table name and I\'d like to avoid that. Also - spring.jpa.hibernate.namin

5条回答
  •  醉话见心
    2020-12-05 12:23

    spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
    

    it worked for me. here are the versions i'm using:

    Spring Boot (v1.4.2.RELEASE)
    Hibernate Core {5.0.11.Final}
    

提交回复
热议问题