mybatis generator 为数据库保留字段 转义
为order 添加转义符号“ ` ” `order`
在context最上面加上这三个元素:
<property name="autoDelimitKeywords" value="true"></property>
<property name="beginningDelimiter" value="`"></property>
<property name="endingDelimiter" value="`"></property>
然后在table元素的属性上加:
delimitIdentifiers="true"
https://www.cnblogs.com/passedbylove/p/12131470.html