mybatis,mybatisPlus控制台进行SQL语句的打印

1.mybatis

mybatis:
  configuration:     ### 开启打印sql配置
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl    ### 开启驼峰配置    map-underscore-to-camel-case:true

2.mybatisPlus

mybatis-plus:
  configuration:     ### 开启打印sql配置
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl    ### 开启驼峰配置    map-underscore-to-camel-case:true

你可能感兴趣的:(数据库,sql,数据库,java)