File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to see if connection(session) is active

sanju dharma
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic