mybatis-config.xml 模板
ssm模板
- <?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="useGeneratedKeys" value="true"/>
-
-
- <setting name="useColumnLabel" value="true"/>
-
-
- <setting name="mapUnderscoreToCamelCase" value="true"/>
-
- <setting name="logImpl" value="STDOUT_LOGGING"/>
- </settings>
- </configuration>
歡迎關注本站公眾號,獲取更多信息