2.mybatils-config.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
      PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
      "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
  <settings>
    <setting name="lazyLoadingEnabled" value="true"/>
    <setting name="aggressiveLazyLoading" value="false"/>
    <!-- 下划线转驼峰式 -->
 
    <setting name="mapUnderscoreToCamelCase" value="true"/>  
    <setting name="logPrefix" value="sql."/>
  </settings>
</configuration>

posted @ 2021-05-02 17:46  小小书童9527  阅读(30)  评论(0编辑  收藏  举报