mybatis逆向工程

岁酱吖の 提交于 2019-11-30 12:50:52
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
  <context id="context1">
    <jdbcConnection connectionURL="jdbc:mysql://localhost:3306/sorl" driverClass="com.mysql.jdbc.Driver" password="yhs120703" userId="root" />
    <javaModelGenerator targetPackage="cn.yhs.pojo" targetProject="easyui/src/main/java" />
    <sqlMapGenerator targetPackage="cn.yhs.mapper" targetProject="easyui/src/main/java" />
    <javaClientGenerator targetPackage="cn.yhs.mapper" targetProject="easyui/src/main/java" type="XMLMAPPER" /><!--type=" ANNOTATEDMAPPER" -->
    <table tableName="t_user" domainObjectName="User"  enableSelectByExample="true" ></table>
  </context>
</generatorConfiguration>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!