[jira] [Commented] (DBUTILS-107) Add QueryLoader.loadFromXml method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (DBUTILS-107) Add QueryLoader.loadFromXml method

David Costanzo (Jira)

    [ https://issues.apache.org/jira/browse/DBUTILS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563899#comment-13563899 ]

Simone Tripodi commented on DBUTILS-107:
----------------------------------------

IMHO checking against a regexp Patter is better, kind of http://fiddle.re/7fgb

please follow http://commons.apache.org/patches.html guideline to name patches.

TIA!
               

> 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