对于

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

hibernate命名策略设置之后不起作用的处理方式:http://www.cnblogs.com/sxdcgaq8080/p/7890218.html,查看1.JPA hibernate命名策略即可

 

现在这里说一下原因,为什么不起作用:

  spring.jpa.hibernate.naming-strategy 设置命名策略,是hibernate4的命名策略,对于hibernate5是不起作用的。

查看自己项目中hibernate版本:

【spring boot hibernate】hibernate命名策略spring.jpa.hibernate.naming-strategy不起作用

 

完整的spring boot配置可以查看:http://www.cnblogs.com/sxdcgaq8080/p/7724506.html

【spring boot hibernate】hibernate命名策略spring.jpa.hibernate.naming-strategy不起作用

 


 
                    
            
                

相关文章:

  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-09-20
  • 2021-04-03
  • 2021-07-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2020-02-28
  • 2021-09-15
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案