[Spring Boot] application.properties

Spring Boot

(Update : 2022-06-02)

Language :

# 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

# H2 Web Console
#spring.h2.console.enabled=true

민갤

Back-End Developer

백엔드 개발자입니다.