1
我加入到我的Jhipster申请一个新的连接:显示SQL在Jhipster 4.4.1
data:
mongodb:
uri: mongodb://localhost:27017
database: crm
datasources:
elser:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/elser
name: elser
username: elser
password: elser
我想在我的Postgres到连接生成SQL日志来查看。
我已经在 '应用程序dev.yml' 加入以下代码测试:
jpa:
properties:
hibernate:
show_sql: true
format_sql: true
或:
jpa:
show_sql: true
format_sql: true
但无论是选择为我工作。
有人可以帮助我。
谢谢