728x90
WARN 19276 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
WARN이 뜨기에 봤더니 처음 보는 오류.
OSIV 상 부적절한 하다고 false로 수정하라는 의미이다. 뷰 렌더링 시에 데이터베이스 쿼리가 수행되면서 성능에 문제가 생길 수 있다고 한다.
application.properties에서false로 바꿔주면 된다.
spring.jpa.open-in-view=false
300x250
'ETC' 카테고리의 다른 글
| [Error] Junit5 - Suspicious combination of '@Test' and '@ParameterizedTest' (0) | 2023.06.07 |
|---|---|
| [Error] Test - @Slf4j cannot find symbol 에러 (0) | 2023.05.23 |
| [Error] JPA - @CreatedDate, @LastUpdatedDate가 null일때 (0) | 2023.05.23 |
| [Error] Spring config - Error executing DDL "alter table goal drop foreign key (0) | 2023.05.23 |
| [Error] Mysql Workbench 접속 에러 (0) | 2023.05.23 |
| [Error] Spring boot - HikariPool-1 - Shutdown completed. Process finished with exit code 0 (0) | 2023.05.23 |
| [IntelliJ] 인텔리제이 JUnit5 테스트 시, displayName이 안 나올 때 (0) | 2023.05.19 |
| [Error] Gradle, Spring Boot 3.x.x 실행 에러 (0) | 2023.05.19 |
