ibaits源码中缓存列名的地方在这里:
com.ibatis.sqlmap.engine.mapping.result .AutoResultMap
public
synchronized Object[] getResults(StatementScope statementScope, ResultSet rs)
throws SQLException {
if (allowRemapping || getResultMappings() ==
null) {
initialize(rs);
return super.getResults(statementScope, rs);
}
处理方法:给动态的字段起个别名