public abstract static class DatabaseConnections.DatabaseConnectionTester
extends java.lang.Object
testConnection(java.sql.Connection) to
peform extra tests on the Connection before it is closed.| Constructor and Description |
|---|
DatabaseConnectionTester() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
testConnection(java.sql.Connection conn)
During the test, if the Connection is successfully made then it is
passed to this method which can then perform extra tests.
|
public abstract void testConnection(java.sql.Connection conn)
throws ConnectionException
conn - the connection to testConnectionException - to fail the test