Skip to content

Commit 321ca79

Browse files
authored
Upgrade the versions of SDK & JDBC Driver (#137)
1 parent 914dccd commit 321ca79

File tree

6 files changed

+40
-12
lines changed

6 files changed

+40
-12
lines changed

hibernate-dialect-v5/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,17 @@
4545
<hibernate.version>5.4.32.Final</hibernate.version>
4646
<junit5.version>5.9.3</junit5.version>
4747
<log4j2.version>2.17.2</log4j2.version>
48+
49+
<ydb.sdk.version>2.2.6</ydb.sdk.version>
50+
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
4851
</properties>
4952

5053
<dependencyManagement>
5154
<dependencies>
5255
<dependency>
5356
<groupId>tech.ydb</groupId>
5457
<artifactId>ydb-sdk-bom</artifactId>
55-
<version>2.1.9</version>
58+
<version>${ydb.sdk.version}</version>
5659
<type>pom</type>
5760
<scope>import</scope>
5861
</dependency>
@@ -83,8 +86,8 @@
8386

8487
<dependency>
8588
<groupId>tech.ydb.jdbc</groupId>
86-
<artifactId>ydb-jdbc-driver-shaded</artifactId>
87-
<version>2.0.5</version>
89+
<artifactId>ydb-jdbc-driver</artifactId>
90+
<version>${ydb.jdbc.version}</version>
8891
<scope>test</scope>
8992
</dependency>
9093

hibernate-dialect/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
<hibernate.version>6.2.7.Final</hibernate.version>
4141
<junit5.version>5.9.3</junit5.version>
4242
<log4j2.version>2.17.2</log4j2.version>
43+
44+
<ydb.sdk.version>2.2.6</ydb.sdk.version>
45+
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
4346
</properties>
4447

4548
<licenses>
@@ -54,7 +57,7 @@
5457
<dependency>
5558
<groupId>tech.ydb</groupId>
5659
<artifactId>ydb-sdk-bom</artifactId>
57-
<version>2.1.9</version>
60+
<version>${ydb.sdk.version}</version>
5861
<type>pom</type>
5962
<scope>import</scope>
6063
</dependency>
@@ -91,8 +94,8 @@
9194

9295
<dependency>
9396
<groupId>tech.ydb.jdbc</groupId>
94-
<artifactId>ydb-jdbc-driver-shaded</artifactId>
95-
<version>2.0.6</version>
97+
<artifactId>ydb-jdbc-driver</artifactId>
98+
<version>${ydb.jdbc.version}</version>
9699
<scope>test</scope>
97100
</dependency>
98101

jooq-dialect/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
<maven.compiler.target>17</maven.compiler.target>
4646

4747
<jooq.version>3.19.0</jooq.version>
48+
49+
<ydb.sdk.version>2.2.6</ydb.sdk.version>
50+
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
4851
</properties>
4952

5053
<dependencies>
@@ -69,13 +72,13 @@
6972
<dependency>
7073
<groupId>tech.ydb.jdbc</groupId>
7174
<artifactId>ydb-jdbc-driver-shaded</artifactId>
72-
<version>2.1.2</version>
75+
<version>${ydb.jdbc.version}</version>
7376
<scope>compile</scope>
7477
</dependency>
7578
<dependency>
7679
<groupId>tech.ydb.test</groupId>
7780
<artifactId>ydb-junit5-support</artifactId>
78-
<version>2.2.0</version>
81+
<version>${ydb.sdk.version}</version>
7982
<scope>test</scope>
8083
</dependency>
8184
<dependency>

liquibase-dialect/pom.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<maven.compiler.source>1.8</maven.compiler.source>
4444

4545
<liquibase.core.version>4.24.0</liquibase.core.version>
46-
<ydb.jdbc.version>2.0.5</ydb.jdbc.version>
46+
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
4747
</properties>
4848

4949
<dependencies>
@@ -73,6 +73,12 @@
7373
<version>5.10.1</version>
7474
<scope>test</scope>
7575
</dependency>
76+
<dependency>
77+
<groupId>org.slf4j</groupId>
78+
<artifactId>slf4j-jdk14</artifactId>
79+
<version>1.7.36</version>
80+
<scope>test</scope>
81+
</dependency>
7682
</dependencies>
7783

7884
<build>
@@ -115,6 +121,9 @@
115121
<TESTCONTAINERS_REUSE_ENABLE>true</TESTCONTAINERS_REUSE_ENABLE>
116122
<YDB_DOCKER_IMAGE>cr.yandex/yc/yandex-docker-local-ydb:trunk</YDB_DOCKER_IMAGE>
117123
</environmentVariables>
124+
<systemPropertyVariables>
125+
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
126+
</systemPropertyVariables>
118127
</configuration>
119128
</plugin>
120129
</plugins>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
handlers= java.util.logging.ConsoleHandler
2+
.level=DEBUG
3+
java.util.logging.ConsoleHandler.level = ALL
4+
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
5+
java.util.logging.SimpleFormatter.format= %1$tF %1$tT [%4$s] %3$s %5$s %n
6+
7+
tech.ydb.jdbc.level=ALL
8+
#tech.ydb.level=FINEST

spring-data-dialect/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,22 @@
3131

3232
<springdata.jdbc.version>3.2.4</springdata.jdbc.version>
3333

34-
<ydb.jdbc.version>2.0.7</ydb.jdbc.version>
3534
<junit5.version>5.10.2</junit5.version>
3635
<lombok.version>1.18.30</lombok.version>
3736
<spring.boot.version>3.2.3</spring.boot.version>
38-
<ydb.liquibase.version>0.9.7</ydb.liquibase.version>
3937
<liquibase.version>4.24.0</liquibase.version>
38+
39+
<ydb.sdk.version>2.2.6</ydb.sdk.version>
40+
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
41+
<ydb.liquibase.version>0.9.7</ydb.liquibase.version>
4042
</properties>
4143

4244
<dependencyManagement>
4345
<dependencies>
4446
<dependency>
4547
<groupId>tech.ydb</groupId>
4648
<artifactId>ydb-sdk-bom</artifactId>
47-
<version>2.1.12</version>
49+
<version>${ydb.sdk.version}</version>
4850
<type>pom</type>
4951
<scope>import</scope>
5052
</dependency>

0 commit comments

Comments
 (0)