Skip to content

Commit b47de55

Browse files
committed
Fix automapping cache update position
1 parent 340802b commit b47de55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ private List<UnMappedColumAutoMapping> createAutomaticMappings(ResultSetWrapper
475475
}
476476
}
477477
}
478+
autoMappingsCache.put(mapKey, autoMapping);
478479
}
479-
autoMappingsCache.put(mapKey, autoMapping);
480480
return autoMapping;
481481
}
482482

0 commit comments

Comments
 (0)