<?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">
<commentGenerator>
<!-- 是否去除自动生成的注释 true:是 : false:否 -->
<property name="suppressAllComments" value="true"/>
</commentGenerator>
<jdbcConnection connectionURL="jdbc:mysql://localhost:3306/how2java" driverClass="com.mysql.jdbc.Driver" password="root" userId="root" />
<javaModelGenerator targetPackage="pojo" targetProject="mybatis" />
<sqlMapGenerator targetPackage="mapper" targetProject="mybatis" />
<javaClientGenerator targetPackage="dao" targetProject="mybatis" type="XMLMAPPER" />
<table schema="how2java" tableName="category_" domainObjectName="categoryDo"
enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false"
enableSelectByExample="false" selectByExampleQueryId="false">
<columnOverride column="name" property="categoryName" />
</table>
<table schema="how2java" tableName="order_" domainObjectName="orderDo"
enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false"
enableSelectByExample="false" selectByExampleQueryId="false">
<columnOverride column="name" property="categoryName" />
</table>
<table schema="how2java" tableName="order_item_" domainObjectName="orderItemDo"
enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false"
enableSelectByExample="false" selectByExampleQueryId="false">
<!-- <columnOverride column="name" property="categoryName" /> -->
</table>
</context>
</generatorConfiguration>