You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,10 @@
53
53
* {@link AutoConfigureTestDatabase @AutoConfigureTestDatabase} annotation can be used to
54
54
* override these settings.
55
55
* <p>
56
+
* SQL queries are logged by default by setting the {@code spring.jpa.show-sql} property
57
+
* to {@code true}. This can be disabled using the {@link DataJpaTest#showSql() showSql}
58
+
* attribute.
59
+
* <p>
56
60
* If you are looking to load your full application configuration, but use an embedded
57
61
* database, you should consider {@link SpringBootTest @SpringBootTest} combined with
58
62
* {@link AutoConfigureTestDatabase @AutoConfigureTestDatabase} rather than this
0 commit comments