Wrong hibernate dialect for MSSQL 2014

后端 未结 4 1673
悲哀的现实
悲哀的现实 2021-01-05 15:23

I have a problem with inserting entities, that use sequences, to a MSSQL 2014 database. I use hibernate that is shipped with Wildfly 10 CR4 (but in CR1 and CR2 I got the sam

4条回答
  •  佛祖请我去吃肉
    2021-01-05 15:33

    For Springboot 1.4.7 and lower add below to properties file

    spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.SQLServer2012Dialect
    

提交回复
热议问题