去掉Mybatis Generator生成的一堆 example

    <table tableName="%"
            enableInsert="true"
            enableDeleteByPrimaryKey="true"
            enableSelectByPrimaryKey="true"
            enableUpdateByPrimaryKey="true"
            enableCountByExample="false"
            enableDeleteByExample="false"
            enableSelectByExample="false"
            enableUpdateByExample="false"
            >
            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
        </table>

默认的情况下  默认是会生成的  我们需要显式的设置

posted @ 2016-09-17 22:38  Hotsum  阅读(1799)  评论(0编辑  收藏  举报