Web/Spring
[Spring-boot JPA] 쿼리와 파라미터 확인방법
EricJeong
2019. 9. 9. 15:50
application.propertice에 다음 항목을 추가한다.
logging.level.org.hibernate.type.descriptor.sql=tracespring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true logging.level.org.hibernate.type.descriptor.sql=trace |