Skip to content

Commit e2c0b89

Browse files
committed
Deprecate support for Neo4j
This commit deprecates support for Neo4j in favor of the spring-batch-neo4j extension Resolves #3956
1 parent d0ab497 commit e2c0b89

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/Neo4jItemReader.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@
5959
*
6060
* @author Michael Minella
6161
* @author Mahmoud Ben Hassine
62+
*
63+
* @deprecated since 5.0 in favor of the item reader from
64+
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
6265
*/
66+
@Deprecated
6367
public class Neo4jItemReader<T> extends AbstractPaginatedDataItemReader<T> implements InitializingBean {
6468

6569
protected Log logger = LogFactory.getLog(getClass());

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/Neo4jItemWriter.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,7 +42,11 @@
4242
* @author Glenn Renfro
4343
* @author Mahmoud Ben Hassine
4444
*
45+
* @deprecated since 5.0 in favor of the item writer from
46+
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
47+
*
4548
*/
49+
@Deprecated
4650
public class Neo4jItemWriter<T> implements ItemWriter<T>, InitializingBean {
4751

4852
protected static final Log logger = LogFactory

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/Neo4jItemReaderBuilder.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 the original author or authors.
2+
* Copyright 2017-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,9 +27,14 @@
2727
* A builder for the {@link Neo4jItemReader}.
2828
*
2929
* @author Glenn Renfro
30+
* @author Mahmoud Ben Hassine
3031
* @since 4.0
3132
* @see Neo4jItemReader
33+
*
34+
* @deprecated since 5.0 in favor of the item reader builder from
35+
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
3236
*/
37+
@Deprecated
3338
public class Neo4jItemReaderBuilder<T> {
3439

3540
private SessionFactory sessionFactory;

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/Neo4jItemWriterBuilder.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 the original author or authors.
2+
* Copyright 2017-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,9 +26,14 @@
2626
* A builder implementation for the {@link Neo4jItemWriter}
2727
*
2828
* @author Glenn Renfro
29+
* @author Mahmoud Ben Hassine
2930
* @since 4.0
3031
* @see Neo4jItemWriter
32+
*
33+
* @deprecated since 5.0 in favor of the item writer builder from
34+
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
3135
*/
36+
@Deprecated
3237
public class Neo4jItemWriterBuilder<T> {
3338

3439
private boolean delete = false;

0 commit comments

Comments
 (0)