Re: Commons DBCP pooling problem
- From: downlode@xxxxxxxxx
- Date: 4 Nov 2005 13:57:19 -0800
Hi,
I'm not sure how I would go about making the connection a method-level
object in this scenario. Would I create a new class with a
getConnection() type method for creating and returning the connection?
Thanks,
Mike
> Actually, the one extra thing I might try, is to make the
> connection and it's subobjects method-level objects. If the
> JSP is typically one instantiated class, any multiple threads
> executing it could overwrite the connection reference and
> leak connections instead of having them all closed.
> Joe
.
- Follow-Ups:
- Re: Commons DBCP pooling problem
- From: Joe Weinstein
- Re: Commons DBCP pooling problem
- References:
- Commons DBCP pooling problem
- From: downlode
- Re: Commons DBCP pooling problem
- From: Joe Weinstein
- Re: Commons DBCP pooling problem
- From: Joe Weinstein
- Commons DBCP pooling problem
- Prev by Date: Re: Commons DBCP pooling problem
- Next by Date: Re: Commons DBCP pooling problem
- Previous by thread: Re: Commons DBCP pooling problem
- Next by thread: Re: Commons DBCP pooling problem
- Index(es):
Relevant Pages
|
Loading