|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2012-2021 the original author or authors. |
|
|
|
* Copyright 2012-2020 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -54,8 +54,8 @@ import org.springframework.transaction.annotation.Transactional; |
|
|
|
* override these settings. |
|
|
|
* override these settings. |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
|
* SQL queries are logged by default by setting the {@code spring.jpa.show-sql} property |
|
|
|
* SQL queries are logged by default by setting the {@code spring.jpa.show-sql} property |
|
|
|
* to {@code true}. This can be disabled by using the {@link DataJpaTest#showSql() |
|
|
|
* to {@code true}. This can be disabled using the {@link DataJpaTest#showSql() showSql} |
|
|
|
* showSql} attribute. |
|
|
|
* attribute. |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
|
* If you are looking to load your full application configuration, but use an embedded |
|
|
|
* If you are looking to load your full application configuration, but use an embedded |
|
|
|
* database, you should consider {@link SpringBootTest @SpringBootTest} combined with |
|
|
|
* database, you should consider {@link SpringBootTest @SpringBootTest} combined with |
|
|
|
|