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>
 
我的修改:
 
 
运行之后,确实没有了。
posted @ 2016-07-15 09:56  七月流火嗞嗞嗞  阅读(2670)  评论(0编辑  收藏  举报