File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
database-commons/src/main/java/io/cdap/plugin/db Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1414 * the License.
1515 */
1616
17-
1817package io .cdap .plugin .db ;
1918
2019import java .sql .SQLTransientException ;
2120import java .util .HashSet ;
2221import java .util .Set ;
2322
24-
2523/**
26- * Checks whether the given exception or one of its causes is a known retryable SQLException .
24+ * Check if an exception or any of its causes is a retryable {@link java.sql.SQLTransientException} .
2725 */
2826public class RetryExceptions {
2927 public static boolean isRetryable (Throwable t ) {
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ public abstract class AbstractDBSource<T extends PluginConfig & DatabaseSourceCo
8787 private static final Pattern WHERE_CONDITIONS = Pattern .compile ("\\ s+where \\ $conditions" ,
8888 Pattern .CASE_INSENSITIVE );
8989 private final RetryPolicy <?> retryPolicy ;
90-
9190 protected DBErrorDetailsProvider dbErrorDetailsProvider ;
9291 protected final T sourceConfig ;
9392 protected Class <? extends Driver > driverClass ;
You can’t perform that action at this time.
0 commit comments