[Spring Boot] application.properties

by 민갤

Java /

# Show query log
spring.jpa.show_sql=true

# Setting Query Log Format
spring.jpa.properties.hibernate.format_sql=true

# Setting Query Log Font Color (ANSI escape codes)
spring.jpa.properties.hibernate.highlight_sql=true

# Show MySql Version Query Log
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL57Dialect
spring.jpa.properties.hibernate.dialect.storage_engine=innodb
spring.datasource.hikari.jdbc-url=jdbc:h2:mem://localhost/~/testdb;MODE=MYSQL

Author

민갤

민갤

Back-End Developer

꾸잉꾸잉하고 웁니다.

로그인

디코에 오신 것을 환영해요!
전문가들의 수많은 아티클 창고 🤓