commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PB (JIRA)" <>
Subject [jira] [Updated] (DBUTILS-107) Add QueryLoader.loadFromXml method
Date Sun, 27 Jan 2013 21:03:12 GMT


PB updated DBUTILS-107:

    Attachment: DBUTILS-107.patch

Patch updated.  I just added a dot to the regex so that it will match foo.xml and not fooxml.

Just out of curiosity, do you think it will be better to use a Pattern for performance reasons
or is there a logical difference besides ensuring that there is a character before the file
> Add QueryLoader.loadFromXml method
> ----------------------------------
>                 Key: DBUTILS-107
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: PB
>            Priority: Minor
>         Attachments: DBUTILS-107.patch
> 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