1. 程式人生 > >mybatis(5) : 逆向工程IDEA版和Eclipse版

mybatis(5) : 逆向工程IDEA版和Eclipse版

generatorConfig.xml 配置

text欄位轉換

<table tableName="mock_config" domainObjectName="MockConfig">
            <columnOverride column="param_data" jdbcType="VARCHAR" />
        </table>

是否生成example.java檔案

<table tableName="tm_project_file" enableCountByExample="false"
               enableUpdateByExample="false" enableDeleteByExample="false"
               enableSelectByExample="false" selectByExampleQueryId="false"/>

END。