commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CONFIGURATION-255) DatabaseConfiguration doesn't support List properties (again)
Date Sat, 03 Mar 2007 20:23:51 GMT

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

Oliver Heger resolved CONFIGURATION-255.
----------------------------------------

    Resolution: Fixed

The problem should be fixed now. I made two changes:
- getProperty() now checks for list delimiters in the values obtained from the database.
- addProperty() temporarily disables delimiter parsing, so that only a single INSERT is performed
for a string property whose value contains the delimiter character.

Tests for this behavior have also been added.

Please double-check. Thanks.

> 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
>         Assigned To: Oliver Heger
>            Priority: Minor
>             Fix For: 1.4
>
>
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message