[ https://issues.apache.org/jira/browse/DBUTILS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996110#comment-13996110 ]
Michael Osipov commented on DBUTILS-114: ---------------------------------------- Actually, there are two options: 1. {{CaseInsensitiveMap}} 2. {{CaseInsensitiveLinkedHashMap}} I favor the first because it describes the contract but the actual implementation is not of interest, in my opinion. > 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, 1.6 > Reporter: Michael Osipov > 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)