출처: http://november11tech.tistory.com/88 [Mr.november11] Spring Boot JPA에서 로그 자세하게 찍어보기 :: 사월은 봄이다.

설정만 해주면 된다.

내 어플리케이션은 application.yml에서 설정 파일을 가지고 있음.

 

 

show-sql: true

hibernate.format_sql: true

설정 해 주면 된다.

https://napsis.blog.me/221687528772

'개발 > Spring' 카테고리의 다른 글

JPA NamedNativeQuery 사용하기  (1) 2019.01.31
spring boot, maiadb] insert into table emoji  (0) 2018.12.11
responseentity, String to json  (0) 2018.11.23
junit test  (0) 2018.10.22
JunitTest] Mock 사용하기  (0) 2018.08.21

+ Recent posts