Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How fast can you re-connect to DB

 
mahavir swami
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would imagine that some DBs have a setting for this, although I've never heard about such a thing. Why do you ask?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic