설정만 해주면 된다.
내 어플리케이션은 application.yml에서 설정 파일을 가지고 있음.
show-sql: true
hibernate.format_sql: true
설정 해 주면 된다.
'개발 > 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 |