generatorConfig.xml文件:
<?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 >
<classPathEntry location="C:\Users\issuser\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar"/>
<context id="infoGuardian" >
<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3306/test" userId="root" password="123456" />
<javaModelGenerator targetPackage="com.payment.ebank.paymentweb.entity" targetProject="PaymentModel\src\main\java" />
<sqlMapGenerator targetPackage="com.payment.ebank.mapping" targetProject="PaymentModel\src\main\java" />
<javaClientGenerator targetPackage="com.payment.ebank.mapping" targetProject="PaymentModel\src\main\java" type="XMLMAPPER" />
<table tableName="t_navigation" domainObjectName="Tnavigation" enableCountByExample="false" enableDeleteByExample="false" enableSelectByExample="false" enableUpdateByExample="false">
</table>
</context>
</generatorConfiguration>
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。