struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Janes" <...@se.bluewave.com>
Subject RE: BasicDataSource class of package org.apache.commons.dbcp
Date Wed, 17 Dec 2003 13:08:08 GMT

Hi,

I used a connection pool via JNDI,, the only issue was that it was possible for the system
to check
out the same connection once, and if you return one, (close) then it closes for them all..
I wrote a
little item that added the hashcode to an arraylist, removeing it when then code released
the
connection, when there where none in the arraylist it was safe to close

Benjamin A. Janes
------------------------------------
BLUEWAVE SVERIGE

M. +46 (0)40-631 1068
F. +46 (0)40 -631 10 50
F. +46 (0)46-540 03 50
Drottninggatan 18,
S-211 49 Malmö,
Sweden



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


Mime
View raw message