Hibernate field naming issue with Spring Boot (naming strategy)

后端 未结 6 913
粉色の甜心
粉色の甜心 2020-11-29 09:31

Note that this code does work with plain Spring but not with Spring Boot(v1.3.3), is there something i\'m missing because this is imported from a spring app that works. The

6条回答
  •  佛祖请我去吃肉
    2020-11-29 09:49

    Below strategy worked for me

    spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.DefaultComponentSafeNamingStrategy
    

提交回复
热议问题