Restore p6spy driver to enable SQL logs

This commit is contained in:
jade
2026-07-03 23:23:51 +09:00
parent 838f9c26a3
commit 6e71c0fff5

View File

@@ -1,6 +1,6 @@
# Local 환경 전용 설정 (H2 메모리 DB 등)
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.url=jdbc:p6spy:h2:mem:testdb;DB_CLOSE_DELAY=-1;
spring.datasource.driverClassName=com.p6spy.engine.spy.P6SpyDriver
spring.datasource.username=sa
spring.datasource.password=password