public class JDBC40ConnectionValidation extends Object implements ConnectionValidation
| Constructor and Description |
|---|
JDBC40ConnectionValidation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConnectionValid(Connection con,
int statementTimeout)
Check for validity of
java.sql.Connection |
public boolean isConnectionValid(Connection con, int statementTimeout)
java.sql.ConnectionisConnectionValid in interface ConnectionValidationcon - java.sql.Connectionto be validatedstatementTimeout - The time in seconds to wait for the query to completeCopyright © 2017. All rights reserved.