Skip to content

Commit 9a08dee

Browse files
committed
Use Spring Boot 3.4 for default compilation
1 parent 2277867 commit 9a08dee

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

.github/workflows/ci-spring-data-jdbc-ydb.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
distribution: 'temurin'
3333
cache: 'maven'
3434

35+
- name: Download dependencies (Default)
36+
working-directory: ./spring-data-jdbc-ydb
37+
run: mvn $MAVEN_ARGS dependency:resolve-plugins dependency:go-offline
38+
3539
- name: Download dependencies (Spring Boot 3)
3640
working-directory: ./spring-data-jdbc-ydb
3741
run: mvn $MAVEN_ARGS -Pspring-boot3 dependency:resolve-plugins dependency:go-offline
@@ -61,7 +65,7 @@ jobs:
6165

6266
- name: Build spring-data-jdbc YDB dialect
6367
working-directory: ./spring-data-jdbc-ydb
64-
run: mvn $MAVEN_ARGS -DskipTests=true package
68+
run: mvn $MAVEN_ARGS package
6569

6670
- name: Tests with Spring Boot 3
6771
working-directory: ./spring-data-jdbc-ydb

spring-data-jdbc-ydb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ that provides support for working with [YDB](https://ydb.tech).
2222
To use this Spring Data JDBC YDB Dialect, you'll need:
2323

2424
- Java 17 or above.
25-
- Spring Data JDBC 3.5+
25+
- Spring Data JDBC 3.4+
2626
- [YDB JDBC Driver](https://github.com/ydb-platform/ydb-jdbc-driver)
2727
- Access to a YDB Database instance
2828

spring-data-jdbc-ydb/pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@
165165
</plugins>
166166
</build>
167167
<profiles>
168+
<profile>
169+
<id>spring-boot-minimal</id>
170+
<activation>
171+
<activeByDefault>true</activeByDefault>
172+
</activation>
173+
<properties>
174+
<spring.version>3.4.0</spring.version>
175+
</properties>
176+
</profile>
168177
<profile>
169178
<id>spring-boot3</id>
170179
<properties>
@@ -173,9 +182,6 @@
173182
</profile>
174183
<profile>
175184
<id>spring-boot4</id>
176-
<activation>
177-
<activeByDefault>true</activeByDefault>
178-
</activation>
179185
<properties>
180186
<spring.version>4.0.0</spring.version>
181187
</properties>

spring-data-jdbc-ydb/src/main/java/tech/ydb/data/core/dialect/YdbDialect.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import java.util.function.Function;
55

66
import org.springframework.aop.interceptor.ExposeInvocationInterceptor;
7-
import org.springframework.data.jdbc.core.dialect.JdbcArrayColumns;
7+
import org.springframework.data.jdbc.core.convert.JdbcArrayColumns;
88
import org.springframework.data.jdbc.core.dialect.JdbcDialect;
99
import org.springframework.data.relational.core.dialect.AbstractDialect;
1010
import org.springframework.data.relational.core.dialect.InsertRenderContext;
@@ -131,6 +131,7 @@ public OrderByNullPrecedence orderByNullHandling() {
131131
}
132132

133133
@Override
134+
@SuppressWarnings("removal")
134135
public JdbcArrayColumns getArraySupport() {
135136
return JdbcArrayColumns.Unsupported.INSTANCE;
136137
}

0 commit comments

Comments
 (0)