Skip to content

Commit

Permalink
New release version v2.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
alex268 committed Oct 17, 2024
1 parent fa52e95 commit f417d12
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.2.14 ##

* Fixed table description cache
* Fixed saKeyFile option

## 2.2.13 ##

* Fixed usePrefixPath for preparing of YQL statements
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Specify the YDB JDBC driver in the dependencies:
<dependency>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>
</dependency>

<!-- Shaded version with included dependencies -->
<dependency>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-shaded</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion jdbc-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-parent</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>
</parent>

<artifactId>ydb-jdbc-driver-shaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-parent</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>
</parent>

<artifactId>ydb-jdbc-driver</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdbc/src/main/java/tech/ydb/jdbc/context/YdbContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public YdbPreparedQuery findOrPrepareParams(YdbQuery query, YdbPrepareMode mode)

if (result.isSuccess()) {
description = result.getValue();
tableDescribeCache.put(query.getOriginQuery(), description);
tableDescribeCache.put(tablePath, description);
} else {
if (type == QueryType.BULK_QUERY) {
throw new SQLException(YdbConst.BULKS_DESCRIBE_ERROR + result.getStatus());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ public GrpcTransportBuilder applyToGrpcTransport(GrpcTransportBuilder builder) {
} else {
builder = builder.withAuthProvider(CloudAuthHelper.getServiceAccountJsonAuthProvider(json));
}
builder = builder.withAuthProvider(new TokenAuthProvider(token.getValue()));
usedProvider = "service account credentitals";
}

Expand Down
2 changes: 1 addition & 1 deletion jdbc/src/main/java/tech/ydb/jdbc/settings/YdbLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private static InputStream readFile(String name, String value) throws SQLExcepti

if (path.startsWith(HOME_REF)) {
String home = System.getProperty("user.home");
path = path.substring(HOME_REF.length() - 1) + home;
path = home + path.substring(HOME_REF.length() - 1);
}

return new FileInputStream(path);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>tech.ydb.jdbc</groupId>

<artifactId>ydb-jdbc-driver-parent</artifactId>
<version>2.2.13</version>
<version>2.2.14</version>

<name>YDB JDBC Module</name>
<description>JDBC Driver over YDB Java SDK</description>
Expand Down

0 comments on commit f417d12

Please sign in to comment.