Explorar o código

日志打印sql

宋悦 %!s(int64=8) %!d(string=hai) anos
pai
achega
5e01929cef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exam-work-main/src/main/resources/application.properties

+ 1 - 1
exam-work-main/src/main/resources/application.properties

@@ -14,7 +14,7 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 logging.level.org.springframework=ERROR
 logging.level.org.hibernate=ERROR
 
-spring.jpa.show-sql=false
+spring.jpa.show-sql=true
 spring.jpa.hibernate.ddl-auto=update