aspose file tools
The moose likes JDBC and the fly likes how to maintain database using Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "how to maintain database using Threads" Watch "how to maintain database using Threads" New topic
Author

how to maintain database using Threads

ganesh seluka
Greenhorn

Joined: May 01, 2008
Posts: 7
Tell me how to maintain database connection open and close in multiple Threads.
whether there is any function to check database connection is open or not while any exception throws in threads able to handle database connection.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Why do this? Would it not just make sense to use a Connection Pool?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to maintain database using Threads
 
Similar Threads
Connection to the database in Web-Application (JSP apps.)
LOGICAL HANDLE NO LONGER VALID
Connection to the database in Web-Application (JSP apps.)
Threads in Database connectivity !
How to control a thread to run in a single instance where the code is deployed in multiple instances