Re: Validation query
From: Bob Lee (wliuei_at_hotmail.com)
Date: 05/12/04
- Next message: David Schleifer [MSFT]: "Re: Concatenation help needed."
- Previous message: Hugo Kornelis: "Re: select only fields that don't contain null value"
- In reply to: Tom Moreau: "Re: Validation query"
- Next in thread: Tom Moreau: "Re: Validation query"
- Reply: Tom Moreau: "Re: Validation query"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 12 May 2004 15:40:31 -0700
Tom,
The whole story:
We have a Web application. The application uses MS SQL
Server database and Apache Jakarta commons-dbcp
connection pool to communicate with the database.
Every time after the database is re-started, the
application server is forced to re-start. Otherwise,
the connections that the pool keeps become invalid and
the system cannot get a connection for the database.
I think there is a possible solution: add a
validationQuery on the connection pool and set the
testOnBorrw parameter to true. However, I am wondering
this could cause an overhead on the transaction. The performance is a
big issue on our application. How much will it affect the performance?
Bob
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: David Schleifer [MSFT]: "Re: Concatenation help needed."
- Previous message: Hugo Kornelis: "Re: select only fields that don't contain null value"
- In reply to: Tom Moreau: "Re: Validation query"
- Next in thread: Tom Moreau: "Re: Validation query"
- Reply: Tom Moreau: "Re: Validation query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|