zoukankan      html  css  js  c++  java
  • spring boot+mybatis+generator生成domain大小写问题

    之前遇到一个问题,用generator生成数据库对应的domain,以前都是好好的,那天突然生成的domain都是小写的,因为我数据库里是大写的,后来找到解决办法,

    <table tableName="material_pile" domainObjectName="MaterialPile" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false">
    <property name="useActualColumnNames" value="true"/>

    </table>
    在table标签下添加这个就可以了
  • 相关阅读:
    2
    vue学习03
    vue学习02
    2
    vue学习01
    pycharm中安装vue
    git
    form
    ajax
    中间件
  • 原文地址:https://www.cnblogs.com/ffaiss/p/10098049.html
Copyright © 2011-2022 走看看