You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class User has two properties userId and userName.
And these properties are explicitly mapped in the result map, so auto-mapping is not applied to these properties.
This is the right behavior.
问题复现
pom版本
老项目
mybatis: 3.4.1
查询出的column:studentid、studentname,查询正常映射到Student
新项目
mybatis: 3.5.7
查询出的column:studentid、studentname,查询映射到Student,属性均为空
问题代码定位:

高版本jar包
低版本无问题jar包
The text was updated successfully, but these errors were encountered: