ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Share database connection pool with Tomcat
Date Mon, 19 Feb 2007 04:34:22 GMT
Of course - if it's a JNDI data source you can tell iBATIS to use that
- it's in the user guide and the book.


On 2/18/07, Collin Peters <cpeters@intouchtechnology.com> wrote:
> I have some regular Tomcat database connection pooling setup with DBCP
> for some servlets that are not iBatis related (reports running direct
> SQL).
> Is it possible to share that database pool with the one defined in
> iBatis?  Seems counter-productive to define two database pools.  Or
> maybe iBatis/Tomcat is smart enough to only have one pool?
> --
> Collin Peters
> VP of Technology
> InTouch Technology

View raw message