commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CONFIGURATION-289) Cannot set lineDelimiter for DatabaseConfiguration
Date Wed, 08 Aug 2007 19:42:59 GMT

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

Oliver Heger commented on CONFIGURATION-289:
--------------------------------------------

Which version of Commons Configuration do you use?

The problem should be fixed in version 1.4. See CONFIGURATION-255.

> Cannot set lineDelimiter for DatabaseConfiguration
> --------------------------------------------------
>
>                 Key: CONFIGURATION-289
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-289
>             Project: Commons Configuration
>          Issue Type: Improvement
>            Reporter: Charl Gerber
>            Priority: Minor
>
> I am using a DatabaseConfiguration to store templates of e-mail messages. The values
are mysql TEXT types and include comma's (','). The DatabaseConfiguration however is read
and initialized when I construct it and then uses the default ',' line delimiter to read the
templates from the database. All of the templates do have comma's in them, meaning that I
cannot retrieve the templates as a String and have to build a mechanism to construct the proper
string from the String[] I can get.
> It would be very helpful if the DatabaseConfiguration would allow you to specify a delimiter
before it reads the values from the tables or even better, provide an option to not use delimiters
at all and just read the whole field as one String.

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


Mime
View raw message