Class OracleLegacyValidConnectionChecker
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.extensions.oracle.OracleLegacyValidConnectionChecker
-
- All Implemented Interfaces:
Serializable,ValidConnectionChecker
public class OracleLegacyValidConnectionChecker extends Object implements ValidConnectionChecker, Serializable
Implements a valid connection checker for Oracle. This is a legacy implementation which uses a pingDatabase method.- Author:
- Adrian Brock, Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OracleLegacyValidConnectionChecker()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExceptionisValidConnection(Connection c)Checks the connection is valid
-
-
-
Method Detail
-
isValidConnection
public SQLException isValidConnection(Connection c)
Checks the connection is valid- Specified by:
isValidConnectionin interfaceValidConnectionChecker- Parameters:
c- the connection- Returns:
- Exception when not valid, null when valid
-
-