Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-289

Cannot set lineDelimiter for DatabaseConfiguration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cpgerber Charl Gerber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: