ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: Difference between DBCP and SIMPLE connection pools
Date Tue, 06 Feb 2007 16:35:55 GMT
DBCP is a connection pool made by Apache.  You need to download an
additional JAR to use it.  SIMPLE is built into iBATIS.

SimpleDataSource has served us very well over the years, with very few
changes.  I'd like to redo the interface at some point (currently
yucky property based config), but the implementation seems to work
well. It's a synchronous pool that doesn't spawn any threads for
reaping connections or anything like that.

Cheers,
Clinton

On 2/6/07, Abdullah Kauchali <abdullah.kauchali@isanusi.com> wrote:
> Hi folks,
>
> What's the difference between configuring connections as DBCP vs SIMPLE?
> When to use which?
>
> TIA,
>
> A
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

Mime
View raw message