jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes How fast can you re-connect to DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How fast can you re-connect to DB" Watch "How fast can you re-connect to DB" New topic

How fast can you re-connect to DB

mahavir swami

Joined: Sep 18, 2009
Posts: 13
Is there a time limit between consecutive connection,
i mean if you connect to a db , using DriverManager.getConnection
and then you close the connection and then reconnect again ,
and this process you repeat many times, is there some minimum time you have
to wait before you can reconnect
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41185
I would imagine that some DBs have a setting for this, although I've never heard about such a thing. Why do you ask?

Ping & DNS - my free Android networking tools app
I agree. Here's the link: http://aspose.com/file-tools
subject: How fast can you re-connect to DB
Similar Threads
PoolableConnectionFactory problem
how to detect connection status
Infinite loop in Init method of Servlet
Client configuration, please help
Socket connections on LAN?