王育民 5 years ago
parent
commit
ca779fd3a5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/application.properties

+ 1 - 0
src/main/resources/application.properties

@@ -32,6 +32,7 @@ spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=false
 spring.jpa.properties.hibernate.use_sql_comments=true
 spring.jpa.show-sql=true
+spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
 ## Thymeleaf
 spring.thymeleaf.cache=false
 spring.thymeleaf.enable-spring-el-compiler=true