Interface ConnectionValidator

    • Method Detail

      • isValid

        boolean isValid​(Connection connection)
                 throws SQLException
        Checks if the given connection is still valid.
        Returns:
        true if the connection is valid, false otherwise
        Throws:
        SQLException - when an error happens due to the connection usage leading to a connection close