commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <>
Subject [jira] [Commented] (DBUTILS-78) Add asynchronous batch, query, and update calls
Date Mon, 26 Sep 2011 15:39:26 GMT


Simone Tripodi commented on DBUTILS-78:

I am experiencing issues when applying the patch:

commons-dbutils simonetripodi$ patch -p0 < DBUTILS-78_Future_v2.patch 
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|Index: main/java/org/apache/commons/dbutils/
|--- main/java/org/apache/commons/dbutils/	(revision 1175857)
|+++ main/java/org/apache/commons/dbutils/	(working copy)
File to patch: 

Can you help me please? TIA!

> Add asynchronous batch, query, and update calls
> -----------------------------------------------
>                 Key: DBUTILS-78
>                 URL:
>             Project: Commons DbUtils
>          Issue Type: New Feature
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 1.4
>         Attachments: 08_16_2011.diff,,,
DBUTILS-78_Future.patch, DBUTILS-78_Future_v2.patch, async.diff, pom.diff
> I propose a new QueryRunner class, AsyncQueryRunner, which changes the return type of
batch, query, and update methods. Instead of returning their respective return types, the
methods would return a RunnableFuture. This would allow callers to either execute the RunnableFuture
in a thread or via an CompletionService like the ExecutorCompletionService.
> I have attached a first cut at this class.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message