Update trace logging to include Hibernate SQL

This commit is contained in:
Phillip Webb
2013-08-20 10:15:37 -07:00
committed by Phillip Webb
parent 6858c3987e
commit d4fe320254
3 changed files with 113 additions and 112 deletions

View File

@@ -57,7 +57,7 @@ public class HibernateJpaAutoConfiguration extends JpaBaseConfiguration {
@Value("${spring.jpa.database:DEFAULT}")
private Database database = Database.DEFAULT;
@Value("${spring.jpa.showSql:${spring.jpa.show_sql:false}}")
@Value("${spring.jpa.showSql:${spring.jpa.show_sql:true}}")
private boolean showSql;
@Value("${spring.jpa.ddlAuto:${spring.jpa.ddl_auto:none}}")