Skip to content

Commit

Permalink
Merge pull request #207 from taosdata/main
Browse files Browse the repository at this point in the history
merge from main
  • Loading branch information
sheyanjie-qq authored Dec 11, 2024
2 parents 75f7afd + c711bba commit 4ba2926
Show file tree
Hide file tree
Showing 41 changed files with 6,583 additions and 2,264 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.taosdata.jdbc</groupId>
<artifactId>taos-jdbcdriver</artifactId>
<version>3.4.1</version>
<version>3.4.1-SNAPSHOT</version>

<packaging>jar</packaging>
<name>JDBCDriver</name>
<url>https://github.com/taosdata/taos-connector-jdbc</url>
Expand Down Expand Up @@ -130,7 +131,7 @@
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.60</minimum>
<minimum>0.70</minimum>
</limit>
</limits>
</rule>
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/com/taosdata/jdbc/TSDBConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
public class TSDBConnection extends AbstractConnection {
private TSDBJNIConnector connector;
private final TSDBDatabaseMetaData databaseMetaData;
private boolean batchFetch;


public Boolean getBatchFetch() {
return this.batchFetch;
}

public TSDBConnection(Properties info, TSDBDatabaseMetaData meta) throws SQLException {
super(info);
Expand All @@ -33,11 +27,6 @@ public TSDBConnection(Properties info, TSDBDatabaseMetaData meta) throws SQLExce
info.getProperty(TSDBDriver.PROPERTY_KEY_DBNAME),
info.getProperty(TSDBDriver.PROPERTY_KEY_USER),
info.getProperty(TSDBDriver.PROPERTY_KEY_PASSWORD));

String batchLoad = info.getProperty(TSDBDriver.PROPERTY_KEY_BATCH_LOAD, "true");
if (batchLoad != null) {
this.batchFetch = Boolean.parseBoolean(batchLoad);
}
}

private void connect(String host, int port, String dbName, String user, String password) throws SQLException {
Expand Down
Loading

0 comments on commit 4ba2926

Please sign in to comment.