[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