공부
[spring] jpa option
승가비
2023. 11. 3. 01:09
728x90
spring:
jpa:
properties:
hibernate:
show_sql: true
format_sql: true
use_sql_comments: true
highlight_sql: true
logging:
level:
org:
hibernate:
SQL: debug
type:
descriptor:
sql: trace
https://lannstark.tistory.com/14
Spring Boot SQL 보기 옵션 총 정리
Spring Boot에서 query DSL을 사용하건 spring boot JPA를 사용하건, 쿼리를 튜닝할 때 SQL을 봐야할 때가 있다. 그럴 때 사용할 수 있는 몇 가지 옵션을 조사해 보았다. 환경 : Spring boot 2.* + hibernate 5.3.10 이
lannstark.tistory.com
https://zzang9ha.tistory.com/399
Spring Boot SQL 설정(hibernate, logging)
📎 Spring Boot SQL 설정(hibernate, logging) 안녕하세요, Spring Boot의 hibernate SQL 설정에 대해 살펴보겠습니다. 실제 운영을 하다보면 수행된 쿼리문에 대해 파악하고, DB에서 결과값을 확인하고 싶을때가
zzang9ha.tistory.com
728x90