commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PB (JIRA)" <>
Subject [jira] [Commented] (DBUTILS-107) Add QueryLoader.loadFromXml method
Date Thu, 10 Jan 2013 09:16:12 GMT


PB commented on DBUTILS-107:

I'm thinking that it may be better to only modify the implementation, instead of the API.
 In loadQueries(String) we could check if path ends with .xml and use Properties.loadFromXML
if true and the current Properties.load if false.  I would hope that no clients are storing
name=value properties in a .xml file.  Would this approach be acceptable?
> Add QueryLoader.loadFromXml method
> ----------------------------------
>                 Key: DBUTILS-107
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: PB
>            Priority: Minor
> This is a request to add a method to QueryLoader called loadFromXml.  Just as QueryLoader.load
is similar to Properties.load, this new method would be similar to Properties.loadFromXML.
 Maintenance of long, multi-line queries can be preferable in XML format compared to properties
file format.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message