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 14
14
* the License.
15
15
*/
16
16
17
-
18
17
package io .cdap .plugin .db ;
19
18
20
19
import java .sql .SQLTransientException ;
21
20
import java .util .HashSet ;
22
21
import java .util .Set ;
23
22
24
-
25
23
/**
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} .
27
25
*/
28
26
public class RetryExceptions {
29
27
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
87
87
private static final Pattern WHERE_CONDITIONS = Pattern .compile ("\\ s+where \\ $conditions" ,
88
88
Pattern .CASE_INSENSITIVE );
89
89
private final RetryPolicy <?> retryPolicy ;
90
-
91
90
protected DBErrorDetailsProvider dbErrorDetailsProvider ;
92
91
protected final T sourceConfig ;
93
92
protected Class <? extends Driver > driverClass ;
You can’t perform that action at this time.
0 commit comments