mybatis-config.xml 407 Bytes
<?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="defaultStatementTimeout" value="10"/> <!-- seconds -->
       <setting name="logImpl" value="STDOUT_LOGGING" />  <!-- 在控制台打印sql语句 -->
    </settings>
</configuration>