From 2216ce5386572d6404d213de2ab6742c3f156196 Mon Sep 17 00:00:00 2001 From: Stefano Cordio Date: Sun, 4 May 2025 18:29:52 +0200 Subject: [PATCH] Bump `spring-boot-starter-parent` from 3.4.2 to 3.4.5 Signed-off-by: Stefano Cordio --- spring-batch-bigquery/pom.xml | 2 +- spring-batch-excel/pom.xml | 2 +- spring-batch-neo4j/pom.xml | 2 +- .../neo4j/Neo4jItemWriterTests.java | 25 ++++++++++++++++--- spring-batch-notion/pom.xml | 2 +- 5 files changed, 26 insertions(+), 7 deletions(-) diff --git a/spring-batch-bigquery/pom.xml b/spring-batch-bigquery/pom.xml index a18d1db4..6e9cf4cb 100644 --- a/spring-batch-bigquery/pom.xml +++ b/spring-batch-bigquery/pom.xml @@ -20,7 +20,7 @@ org.springframework.boot spring-boot-starter-parent - 3.4.2 + 3.4.5 diff --git a/spring-batch-excel/pom.xml b/spring-batch-excel/pom.xml index ffacef7e..cf120f05 100644 --- a/spring-batch-excel/pom.xml +++ b/spring-batch-excel/pom.xml @@ -19,7 +19,7 @@ org.springframework.boot spring-boot-starter-parent - 3.4.2 + 3.4.5 diff --git a/spring-batch-neo4j/pom.xml b/spring-batch-neo4j/pom.xml index 2794918a..d9a7d88a 100644 --- a/spring-batch-neo4j/pom.xml +++ b/spring-batch-neo4j/pom.xml @@ -20,7 +20,7 @@ org.springframework.boot spring-boot-starter-parent - 3.4.2 + 3.4.5 diff --git a/spring-batch-neo4j/src/test/java/org/springframework/batch/extensions/neo4j/Neo4jItemWriterTests.java b/spring-batch-neo4j/src/test/java/org/springframework/batch/extensions/neo4j/Neo4jItemWriterTests.java index 7bcba925..a5189fd3 100644 --- a/spring-batch-neo4j/src/test/java/org/springframework/batch/extensions/neo4j/Neo4jItemWriterTests.java +++ b/spring-batch-neo4j/src/test/java/org/springframework/batch/extensions/neo4j/Neo4jItemWriterTests.java @@ -30,19 +30,33 @@ import org.springframework.data.mapping.model.BasicPersistentEntity; import org.springframework.data.neo4j.core.Neo4jTemplate; import org.springframework.data.neo4j.core.convert.Neo4jPersistentPropertyConverter; -import org.springframework.data.neo4j.core.mapping.*; +import org.springframework.data.neo4j.core.mapping.GraphPropertyDescription; +import org.springframework.data.neo4j.core.mapping.IdDescription; +import org.springframework.data.neo4j.core.mapping.Neo4jMappingContext; +import org.springframework.data.neo4j.core.mapping.Neo4jPersistentEntity; +import org.springframework.data.neo4j.core.mapping.Neo4jPersistentProperty; +import org.springframework.data.neo4j.core.mapping.NodeDescription; +import org.springframework.data.neo4j.core.mapping.PropertyFilter; +import org.springframework.data.neo4j.core.mapping.RelationshipDescription; import org.springframework.data.util.TypeInformation; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; -import java.util.*; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Collector; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; -import static org.mockito.Mockito.*; +import static org.mockito.Mockito.anyString; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyNoInteractions; +import static org.mockito.Mockito.when; public class Neo4jItemWriterTests { @@ -385,6 +399,11 @@ public boolean isRelationshipPropertiesEntity() { return false; } + @Override + public boolean hasRelationshipPropertyPersistTypeInfoFlag() { + return false; + } + @Override public String getPrimaryLabel() { return "MyEntity"; diff --git a/spring-batch-notion/pom.xml b/spring-batch-notion/pom.xml index 919d2dde..d9eec3b0 100644 --- a/spring-batch-notion/pom.xml +++ b/spring-batch-notion/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.4.2 + 3.4.5