Skip to content

Commit f417d12

Browse files
committed
New release version v2.2.14
1 parent fa52e95 commit f417d12

File tree

8 files changed

+12
-8
lines changed

8 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.2.14 ##
2+
3+
* Fixed table description cache
4+
* Fixed saKeyFile option
5+
16
## 2.2.13 ##
27

38
* Fixed usePrefixPath for preparing of YQL statements

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ Specify the YDB JDBC driver in the dependencies:
2626
<dependency>
2727
<groupId>tech.ydb.jdbc</groupId>
2828
<artifactId>ydb-jdbc-driver</artifactId>
29-
<version>2.2.13</version>
29+
<version>2.2.14</version>
3030
</dependency>
3131

3232
<!-- Shaded version with included dependencies -->
3333
<dependency>
3434
<groupId>tech.ydb.jdbc</groupId>
3535
<artifactId>ydb-jdbc-driver-shaded</artifactId>
36-
<version>2.2.13</version>
36+
<version>2.2.14</version>
3737
</dependency>
3838
</dependencies>
3939
```

jdbc-shaded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>tech.ydb.jdbc</groupId>
88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.2.13</version>
9+
<version>2.2.14</version>
1010
</parent>
1111

1212
<artifactId>ydb-jdbc-driver-shaded</artifactId>

jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>tech.ydb.jdbc</groupId>
88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.2.13</version>
9+
<version>2.2.14</version>
1010
</parent>
1111

1212
<artifactId>ydb-jdbc-driver</artifactId>

jdbc/src/main/java/tech/ydb/jdbc/context/YdbContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public YdbPreparedQuery findOrPrepareParams(YdbQuery query, YdbPrepareMode mode)
411411

412412
if (result.isSuccess()) {
413413
description = result.getValue();
414-
tableDescribeCache.put(query.getOriginQuery(), description);
414+
tableDescribeCache.put(tablePath, description);
415415
} else {
416416
if (type == QueryType.BULK_QUERY) {
417417
throw new SQLException(YdbConst.BULKS_DESCRIBE_ERROR + result.getStatus());

jdbc/src/main/java/tech/ydb/jdbc/settings/YdbConnectionProperties.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ public GrpcTransportBuilder applyToGrpcTransport(GrpcTransportBuilder builder) {
156156
} else {
157157
builder = builder.withAuthProvider(CloudAuthHelper.getServiceAccountJsonAuthProvider(json));
158158
}
159-
builder = builder.withAuthProvider(new TokenAuthProvider(token.getValue()));
160159
usedProvider = "service account credentitals";
161160
}
162161

jdbc/src/main/java/tech/ydb/jdbc/settings/YdbLookup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static InputStream readFile(String name, String value) throws SQLExcepti
6666

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

7272
return new FileInputStream(path);

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>tech.ydb.jdbc</groupId>
77

88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.2.13</version>
9+
<version>2.2.14</version>
1010

1111
<name>YDB JDBC Module</name>
1212
<description>JDBC Driver over YDB Java SDK</description>

0 commit comments

Comments
 (0)