jpa hibernate打印控制台如何格式化输出SQL语句,hibernate不是有一个属性吗:format_sql
spring:
profiles:
active: dev
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/mybatis
username: root
password: 123456
jpa:
hibernate:
# ddl-auto: create
ddl-auto: update
show-sql: true
format-sql: true
use-sql-comments: true