public class CheckValidConnectionSQL extends Object implements ValidConnectionChecker, Serializable
Constructor and Description |
---|
CheckValidConnectionSQL()
Constructor
|
CheckValidConnectionSQL(String sql)
Constructor
|
Modifier and Type | Method and Description |
---|---|
SQLException |
isValidConnection(Connection c)
Checks the connection is valid
|
public CheckValidConnectionSQL()
public CheckValidConnectionSQL(String sql)
sql
- The SQL stringpublic SQLException isValidConnection(Connection c)
isValidConnection
in interface ValidConnectionChecker
c
- the connectionCopyright © 2021 JBoss by Red Hat. All rights reserved.