1 Star 0 Fork 0

zhyocean/Systembook

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generatorConfig.xml 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
zhyocean 提交于 2018-06-17 13:03 . commit first
<?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="MysqlContext" targetRuntime="MyBatis3Simple" defaultModelType="flat">
<property name="beginningDelimiter" value="`"/>
<property name="endingDelimiter" value="`"/>
<!-- <plugin type="tk.mybatis.mapper.generator.MapperPlugin" >
<property name="mappers" value="com.xyxz.utils.MyMapper"/>
</plugin> -->
<commentGenerator>
<property name="suppressAllComments" value="true"/>
<property name="suppressDate" value="true"/>
</commentGenerator>
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/systembook"
userId="root"
password="">
</jdbcConnection>
<!-- 对于生成的pojo所在包 -->
<javaModelGenerator targetPackage="com.zx.systembook.model" targetProject="src/main/java"/>
<!-- 对于生成的mapper所在目录 -->
<sqlMapGenerator targetPackage="mapper" targetProject="src/main/resources"/>
<!-- 配置mapper对应的java映射 -->
<javaClientGenerator targetPackage="com.zx.systembook.mapper" targetProject="src/main/java"
type="XMLMAPPER"/>
<table tableName="tables" domainObjectName="TablesMg"></table>
</context>
</generatorConfiguration>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhyocean/Systembook.git
git@gitee.com:zhyocean/Systembook.git
zhyocean
Systembook
Systembook
master

搜索帮助