2016.7.12 去除mybatis-generator生成的class里的注释
用mybatis-generator自动生成代码会出现很多没必要的注释。
![](https://images2015.cnblogs.com/blog/980658/201607/980658-20160715110146873-1662699805.png)
在配置文件里加上:
是否去除所有自动生成的文件的时间戳:
是否去除所有自动生成文件的注释:
<commentGenerator>
<property name="suppressDate" value="false"/>
<property name="suppressAllComments" value="true"/>
</commentGenerator>
fighting for this