Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the versions of SDK & JDBC Driver #137

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions hibernate-dialect-v5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@
<hibernate.version>5.4.32.Final</hibernate.version>
<junit5.version>5.9.3</junit5.version>
<log4j2.version>2.17.2</log4j2.version>

<ydb.sdk.version>2.2.6</ydb.sdk.version>
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>tech.ydb</groupId>
<artifactId>ydb-sdk-bom</artifactId>
<version>2.1.9</version>
<version>${ydb.sdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -83,8 +86,8 @@

<dependency>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-shaded</artifactId>
<version>2.0.5</version>
<artifactId>ydb-jdbc-driver</artifactId>
<version>${ydb.jdbc.version}</version>
<scope>test</scope>
</dependency>

Expand Down
9 changes: 6 additions & 3 deletions hibernate-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
<hibernate.version>6.2.7.Final</hibernate.version>
<junit5.version>5.9.3</junit5.version>
<log4j2.version>2.17.2</log4j2.version>

<ydb.sdk.version>2.2.6</ydb.sdk.version>
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
</properties>

<licenses>
Expand All @@ -54,7 +57,7 @@
<dependency>
<groupId>tech.ydb</groupId>
<artifactId>ydb-sdk-bom</artifactId>
<version>2.1.9</version>
<version>${ydb.sdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -91,8 +94,8 @@

<dependency>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-shaded</artifactId>
<version>2.0.6</version>
<artifactId>ydb-jdbc-driver</artifactId>
<version>${ydb.jdbc.version}</version>
<scope>test</scope>
</dependency>

Expand Down
7 changes: 5 additions & 2 deletions jooq-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<maven.compiler.target>17</maven.compiler.target>

<jooq.version>3.19.0</jooq.version>

<ydb.sdk.version>2.2.6</ydb.sdk.version>
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
</properties>

<dependencies>
Expand All @@ -69,13 +72,13 @@
<dependency>
<groupId>tech.ydb.jdbc</groupId>
<artifactId>ydb-jdbc-driver-shaded</artifactId>
<version>2.1.2</version>
<version>${ydb.jdbc.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>tech.ydb.test</groupId>
<artifactId>ydb-junit5-support</artifactId>
<version>2.2.0</version>
<version>${ydb.sdk.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
11 changes: 10 additions & 1 deletion liquibase-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<maven.compiler.source>1.8</maven.compiler.source>

<liquibase.core.version>4.24.0</liquibase.core.version>
<ydb.jdbc.version>2.0.5</ydb.jdbc.version>
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -73,6 +73,12 @@
<version>5.10.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.7.36</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -115,6 +121,9 @@
<TESTCONTAINERS_REUSE_ENABLE>true</TESTCONTAINERS_REUSE_ENABLE>
<YDB_DOCKER_IMAGE>cr.yandex/yc/yandex-docker-local-ydb:trunk</YDB_DOCKER_IMAGE>
</environmentVariables>
<systemPropertyVariables>
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand Down
8 changes: 8 additions & 0 deletions liquibase-dialect/src/test/resources/logging.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
handlers= java.util.logging.ConsoleHandler
.level=DEBUG
java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format= %1$tF %1$tT [%4$s] %3$s %5$s %n

tech.ydb.jdbc.level=ALL
#tech.ydb.level=FINEST
8 changes: 5 additions & 3 deletions spring-data-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,22 @@

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

<ydb.jdbc.version>2.0.7</ydb.jdbc.version>
<junit5.version>5.10.2</junit5.version>
<lombok.version>1.18.30</lombok.version>
<spring.boot.version>3.2.3</spring.boot.version>
<ydb.liquibase.version>0.9.7</ydb.liquibase.version>
<liquibase.version>4.24.0</liquibase.version>

<ydb.sdk.version>2.2.6</ydb.sdk.version>
<ydb.jdbc.version>2.1.5</ydb.jdbc.version>
<ydb.liquibase.version>0.9.7</ydb.liquibase.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>tech.ydb</groupId>
<artifactId>ydb-sdk-bom</artifactId>
<version>2.1.12</version>
<version>${ydb.sdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Loading