commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moandji Ezana (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DBUTILS-88) Make AsyncQueryRunner be a decorator around a QueryRunner
Date Sat, 11 Feb 2012 14:41:59 GMT

     [ https://issues.apache.org/jira/browse/DBUTILS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Moandji Ezana updated DBUTILS-88:
---------------------------------

    Attachment: AsyncQueryRunner_wraps_QueryRunner.txt

AsyncQueryRunner_wraps_QueryRunner.txt is a patch that demonstrates my idea. It does not update
the tests, which currently fail.
                
> Make AsyncQueryRunner be a decorator around a QueryRunner
> ---------------------------------------------------------
>
>                 Key: DBUTILS-88
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-88
>             Project: Commons DbUtils
>          Issue Type: Task
>            Reporter: Moandji Ezana
>            Priority: Minor
>         Attachments: AsyncQueryRunner_wraps_QueryRunner.txt
>
>
> AsyncQueryRunner duplicates much of the code in QueryRunner. Would it be possible for
AsyncQueryRunner to simply decorate a QueryRunner with async functionality, in the same way
a BufferedInputStream might decorate an InputStream?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message