The Wayback Machine - https://web.archive.org/web/20200706143337/https://github.com/macrozheng/mall-learning/issues/36
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generatorConfig.xml的table节点中,为text类型单独增加类型转换,否则XXXExample中的SQL封装会丢失text类型字段 #36

Open
DevilNing opened this issue Apr 24, 2020 · 0 comments

Comments

@DevilNing
Copy link

@DevilNing DevilNing commented Apr 24, 2020

    <table tableName="pms_brand">
        <generatedKey column="id" sqlStatement="MySql" identity="true"/>
        <!-- 对应表中每一个类型为text的列 -->
        <columnOverride column="brand_story" jdbcType="VARCHAR"/>
    </table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.