반응형 Log1 [JPA] Query Log 설정하기 applicarion.properties# Query 를 콘솔에 출력spring.jpa.show-sql=true# Hibernate에서 출력하는 Query를 보기 좋게 출력spring.jpa.properties.hibernate.format_sql=true# Hibernate에서 Query 를 콘솔에 출력spring.jpa.properties.hibernate.show_sql=true# Hibernate에서 Query 의 중요 부분을 하이라이트 한다spring.jpa.properties.hibernate.highlight_sql=true# Hibernate가 Query를 debug 수준 출력logging.level.org.hibernate.SQL=debug# Hibernate가 Query 에서 param.. 2024. 11. 17. 이전 1 다음 반응형