You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "PB (JIRA)" <ji...@apache.org> on 2013/01/27 20:25:12 UTC
[jira] [Comment Edited] (DBUTILS-107) Add QueryLoader.loadFromXml
method
[ https://issues.apache.org/jira/browse/DBUTILS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563893#comment-13563893 ]
PB edited comment on DBUTILS-107 at 1/27/13 7:23 PM:
-----------------------------------------------------
I've attached the patch I had in mind. It updates loadQueries() to check for .xml properties files and use Properties.loadFromXML().
was (Author: pushbit):
Patch to resolve this issue.
> Add QueryLoader.loadFromXml method
> ----------------------------------
>
> Key: DBUTILS-107
> URL: https://issues.apache.org/jira/browse/DBUTILS-107
> Project: Commons DbUtils
> Issue Type: Improvement
> Affects Versions: 1.5
> Reporter: PB
> Priority: Minor
> Attachments: QueryLoader.diff
>
>
> 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: http://www.atlassian.com/software/jira