Springboot中下划线转驼峰配置

    技术2022-07-14  66

    Springboot中下划线转驼峰配置

    1、在application.properties中加上即可 #开启驼峰命名转换

    mybatis.configuration.map-underscore-to-camel-case=true

    2、sql打印

    #打印sql(语句),方便调试 mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
    Processed: 0.024, SQL: 9