Skip to content

Commit 491c3c3

Browse files
committed
[dbconn替换]
1 parent 7a00d0d commit 491c3c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rdb/rdb-sink/src/main/java/com/dtstack/flink/sql/sink/rdb/format/RetractJDBCOutputFormat.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ private void checkConnectionOpen(Connection dbConn) {
329329
LOG.info("db connection reconnect..");
330330
dbConn= establishConnection();
331331
upload = dbConn.prepareStatement(insertQuery);
332+
this.dbConn = dbConn;
332333
}
333334
} catch (SQLException e) {
334335
LOG.error("check connection open failed..", e);

0 commit comments

Comments
 (0)