[ 
https://issues.apache.org/jira/browse/CONFIGURATION-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477238
 ] 

Thibaut Martin commented on CONFIGURATION-255:
----------------------------------------------

Hello,

Here is my example:

        DatabaseConfiguration configuration = new DatabaseConfiguration
(dataSource, "CONF", "KEY", "VALUE");

        LOG.debug (configuration.isDelimiterParsingDisabled ());       =>
false
        LOG.debug (configuration.getListDelimiter ());                 => ,

        String value = configuration.getString (key);
        LOG.debug (value);                                             =>
a,b,c

        List<String> list = configuration.getList (key);
        LOG.debug (list.size ());                                      => 1
        for (String element: list) {
            LOG.debug (element);                                       =>
a,b,c
        }

  Thibaut



> DatabaseConfiguration doesn't support List properties (again)
> -------------------------------------------------------------
>
>                 Key: CONFIGURATION-255
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-255
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Sun Java(TM) System Application Server Platform Edition 
> 9.0, Oracle 9i
>            Reporter: Thibaut Martin
>            Priority: Minor
>
> The getList() and getStringArray() methods always return a one element 
> list/array, when used with DatabaseConfiguration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to