This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes connection.close() performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "connection.close() performance" Watch "connection.close() performance" New topic

connection.close() performance

ofer misk

Joined: Jun 16, 2003
Posts: 19
hello again, fine ppl!
today ill ask a simple but complexed que.:
i wrote a helper for jdbc, that launches queries from cache .
while everything runs smoothly, the close part of the connection (db2 connection, to be spesific) takes long time (relatively) and hurts the helper performance.
does anybody here (remembers vera linn) knows how can i overcome this little (but annoying) problem.
well, thanks for every direction youll send me.
have a great day, and god bless...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: connection.close() performance
It's not a secret anymore!