2016.7.14 去掉Mybatis Generator生成的一堆 example

参考资料:

 
mybatis generator自动生成的代码里老是有一堆example,需要改的时候,generatorConfig.xml文件的配置的方法如下:
 
<table schema="general" tableName="tb_table_name" domainObjectName="EntityName"
    enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false"
    enableSelectByExample="false" selectByExampleQueryId="false" >
    <property name="useActualColumnNames" value="true"/>
</table>
 
我的修改:
 
 
运行之后,确实没有了。
原文地址:https://www.cnblogs.com/lyh421/p/5672569.html