Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resove conflicts
Browse files Browse the repository at this point in the history
yangbinbin committed Nov 16, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent cf6bc4f commit e88d463
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -129,9 +129,6 @@ public Connection getOrEstablishConnection()
throw new SQLException(
"No suitable driver found for " + jdbcOptionsUrl, "08001");
}

// Auto commit is used by default, Teradata jdbc type fastload must be set false.
connection.setAutoCommit(!(jdbcOptionsUrl.toLowerCase().contains("jdbc:teradata:") & jdbcOptionsUrl.toLowerCase().contains("type=fastload")));
return connection;
}

0 comments on commit e88d463

Please sign in to comment.