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标签下添加这个就可以了
原文地址:https://www.cnblogs.com/ffaiss/p/10098049.html