Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class CypherActionFn extends DoFn<Integer, Row> {
private final SerializableSupplier<Neo4jConnection> connectionProvider;
private final CypherExecutionMode executionMode;

private Neo4jConnection connection;
private transient Neo4jConnection connection;

public CypherActionFn(ActionContext context) {
this(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.google.cloud.teleport.v2.neo4j.model.connection.ConnectionParams;
import com.google.cloud.teleport.v2.neo4j.telemetry.Neo4jTelemetry;
import com.google.common.annotations.VisibleForTesting;
import java.io.Serializable;
import java.util.Collections;
import java.util.Map;
import java.util.function.Supplier;
Expand All @@ -35,7 +34,7 @@
import org.slf4j.LoggerFactory;

/** Neo4j connection helper object wraps Neo4j java APIs. */
public class Neo4jConnection implements AutoCloseable, Serializable {
public class Neo4jConnection implements AutoCloseable {

private static final Logger LOG = LoggerFactory.getLogger(Neo4jConnection.class);
private final Supplier<Driver> driverSupplier;
Expand Down
Loading