Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to see if connection(session) is active  RSS feed

 
sanju dharma
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!