s.brief-mybatis-sample.3.6.8.source-code.sqlMapConfig.xml Maven / Gradle / Ivy
The newest version!
<?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> <environments default="default"> <environment id="default"> <transactionManager type="JDBC" /> <dataSource type="POOLED"> <property name="driver" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://localhost:3306/base?characterEncoding=utf-8" /> <property name="username" value="root" /> <property name="password" value="zqbxcmj" /> </dataSource> </environment> </environments> <!-- 加载映射文件 com.javaoffers.batis.modelhelper.mapper --> <mappers> <mapper resource="static/model/ReformMapper.xml"/> </mappers> </configuration>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy