This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 45
  • 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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!