We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
아무런 설정 없이 JPA 쿼리를 실행하는 경우 쿼리 파라미터가 '?'로 찍힌다. 그동안 개발을 할 때, 쿼리 파라미터가 '?'로 찍히면, 일단 쿼리가 성공했다고 판단하고, 상세 데이터를 DB에 가야지만 확인할 수 있었다.
그런데 아래 방법을 사용해서 스프링부트 실행 콘솔창에서 확인이 가능하다는 사실을 알게되었다.
logging .level: org.hibernate.orm.jdbc.bind: trace
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
The text was updated successfully, but these errors were encountered:
hoonyworld
No branches or pull requests
무엇을 알게 되었나요?
아무런 설정 없이 JPA 쿼리를 실행하는 경우 쿼리 파라미터가 '?'로 찍힌다.
그동안 개발을 할 때, 쿼리 파라미터가 '?'로 찍히면, 일단 쿼리가 성공했다고 판단하고, 상세 데이터를 DB에 가야지만 확인할 수 있었다.
그런데 아래 방법을 사용해서 스프링부트 실행 콘솔창에서 확인이 가능하다는 사실을 알게되었다.
yml에 추가
외부 라이브러리 - p6spy
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
주의점
어려운 내용이 있었다면 이를 어떻게 해결하였나요?
어떤 자료를 참고하였나요?
The text was updated successfully, but these errors were encountered: