Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 43230 invoked from network); 17 Aug 2007 07:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 07:10:59 -0000 Received: (qmail 4451 invoked by uid 500); 17 Aug 2007 07:10:55 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 4376 invoked by uid 500); 17 Aug 2007 07:10:55 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 4360 invoked by uid 99); 17 Aug 2007 07:10:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 00:10:54 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 07:10:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 28666714201 for ; Fri, 17 Aug 2007 00:10:35 -0700 (PDT) Message-ID: <7316868.1187334635160.JavaMail.jira@brutus> Date: Fri, 17 Aug 2007 00:10:34 -0700 (PDT) From: "Charl Gerber (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (CONFIGURATION-289) Cannot set lineDelimiter for DatabaseConfiguration In-Reply-To: <3973433.1186563299164.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520475 ] Charl Gerber commented on CONFIGURATION-289: -------------------------------------------- You're right, the code snippet above worked fine. You can close this issue as INVALID. Thanks for the help. > 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.