commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DBUTILS-114) Order of columns not retained in BasicRowProcessor with HashMap
Date Wed, 16 Jul 2014 17:20:05 GMT

     [ https://issues.apache.org/jira/browse/DBUTILS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter resolved DBUTILS-114.
-------------------------------------

    Resolution: Fixed

Fixed in r1611088. Thanks for the patch!

> Order of columns not retained in BasicRowProcessor with HashMap
> ---------------------------------------------------------------
>
>                 Key: DBUTILS-114
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-114
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Michael Osipov
>            Assignee: Benedikt Ritter
>             Fix For: 1.6
>
>         Attachments: DBUTILS-114.patch
>
>
> The {{CaseInsensitiveHashMap}} extends {{HashMap}}. This means that the order of columns
defined in a select query is not retained when one wants to iterate over the entry set. This
be changed to {{LinkedHashMap}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message