Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7
-
None
Description
In the method org.apache.commons.dbutils.BasicRowProcessor.toMap(ResultSet), Maps (specifically our own CaseInsensitiveHashMap) are allocated but the column count is NOT taken into account to size the map. This will either over-allocate the map for narrow results or the map will have to be resized for wider results.
The fix will use the column count to allocate an exactly sized map.