ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: Closing a connection
Date Tue, 01 Aug 2006 12:58:41 GMT
On Tue, Aug 01, 2006 at 05:44:52PM +0530, Prasad Jayakumar wrote:
>    I am researching on using iBatis 2.1.7 in our project.  I am an Oracle
>    DBA and a Java Developer. I am using
>    iBatis DAO
>       SQLMAP Transaction Manager
>       SqlMapDaoTemplate.
> 
>    I tried some sample programs.  I noticed all the database connection
>    not getting closed.  Is there anything in particular I should look at
>    or include in the code?
> 
>    Could you tell in general, How / When database connection is getting
>    closed in iBatis?

It is usually much better to allow some database pools (like Apache DBCP) to
manage connections opening/closing.

-- 
Eugene N Dzhurinsky

Mime
View raw message