aspose file tools*
The moose likes JDBC and the fly likes How to see if connection(session) is active Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to see if connection(session) is active" Watch "How to see if connection(session) is active" New topic
Author

How to see if connection(session) is active

sanju dharma
Ranch Hand

Joined: Oct 19, 2000
Posts: 45
Hi,
Is there any way in JDBC to see if connection is inactive currently. We distributed app which runs tens of processes on each machines. All processes keep the connection even if it is not doing anything. Currently only way to release connection is to kill the processes.

I imagine api like connection.isActive().. Does anybody know anything like this?

Thanks in advance,
Sudhir
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to see if connection(session) is active