mybatis cannot map underlined fields in the mysql database

Camel case naming conversion needs to be configured in the mybatis configuration file

<setting name="mapUnderscoreToCamelCase" value="true"/> 
Fields with an underline can be mapped

Guess you like

Origin blog.csdn.net/luwei_cool/article/details/109717478