commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: [DbUtils] Could AsyncQueryRunner be a wrapper around a QueryRunner?
Date Sat, 11 Feb 2012 08:08:56 GMT
Hi Moandji,

the ML is not the right place where attaching patches, can you please
fill an issue on JIRA?
TIA!

-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Feb 11, 2012 at 8:53 AM, Moandji Ezana <mwanji@gmail.com> wrote:
> On Wed, Feb 8, 2012 at 5:04 AM, William Speirs <wspeirs@apache.org> wrote:
>>
>> This is not a bad idea, but I would need to give it more thought.
>>
>> I tried to reduce code dup when I created AsyncQueryRunner by creating
>> AbstractQueryRunner[1], could we just add more code to that class?
>
>
> I was thinking of having the AsyncQueryWrapper decorate the QueryRunner with
> async behaviour, in the same way a BufferedInputStream might decorate an
> InputStream.
>
> Here's a patch that shows what I mean. It causes all the interaction-based
> tests to fail, but I just wanted to get your take on whether this was a
> good/feasible idea.
>
> Moandji
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message