引用 mybatis-plus,application.properties与原mybatis一致。
配合使用 p6spy 打印SQL语句

mybatis-plus配置

需要把原来的
#配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall’用于防火墙
spring.datasource.filters=stat,wall,log4j
修改成
spring.datasource.filters=stat,log4j

否则会报
dbType not support : null
这个异常。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 1970-01-01
  • 2021-12-20
  • 2022-12-23
  • 2021-03-30
猜你喜欢
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案