[
https://issues.apache.org/jira/browse/CONFIGURATION-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844262#comment-17844262
]
Gary D. Gregory commented on CONFIGURATION-845:
-----------------------------------------------
[~pietermartin]
Thank you for you report.
What should the ORDER BY be?
Feel free to create a PR on github.
> DatabaseConfiguration loses list property's order
> -------------------------------------------------
>
> Key: CONFIGURATION-845
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-845
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 2.10.1
> Reporter: pieter martin
> Priority: Major
>
> {code:java}
> private static final String SQL_GET_PROPERTY = "SELECT * FROM %s WHERE %s =?";
> {code}
> This is the query DatabaseConfiguration executes to get a property's values.
> It assumes the order will be insertion order but this is not true on
> postgresql.
> So configuration.getList(key) loses the order of the list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)