You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2014/07/16 19:20:05 UTC

[jira] [Resolved] (DBUTILS-114) Order of columns not retained in BasicRowProcessor with HashMap

     [ 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)