title: How to check if connection alive?
body: <p>I use JDBC for connect to Oracle database. Application is running very long time. So I need if connection was not closed by server, not happened network disconnect etc.
  Should I run small query or exists another way? Use isValid I cannot because this is not supported by jdbc driver.</p>