File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 42952
I would imagine that some DBs have a setting for this, although I've never heard about such a thing. Why do you ask?
I agree. Here's the link:
subject: How fast can you re-connect to DB