Skip to content

Commit

Permalink
Deprecate support for Neo4j
Browse files Browse the repository at this point in the history
This commit deprecates support for Neo4j
in favor of the spring-batch-neo4j extension

Resolves #3956
  • Loading branch information
fmbenhassine committed Sep 2, 2021
1 parent d0ab497 commit e2c0b89
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
Expand Up @@ -59,7 +59,11 @@
*
* @author Michael Minella
* @author Mahmoud Ben Hassine
*
* @deprecated since 5.0 in favor of the item reader from
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
*/
@Deprecated
public class Neo4jItemReader<T> extends AbstractPaginatedDataItemReader<T> implements InitializingBean {

protected Log logger = LogFactory.getLog(getClass());
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -42,7 +42,11 @@
* @author Glenn Renfro
* @author Mahmoud Ben Hassine
*
* @deprecated since 5.0 in favor of the item writer from
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
*
*/
@Deprecated
public class Neo4jItemWriter<T> implements ItemWriter<T>, InitializingBean {

protected static final Log logger = LogFactory
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,9 +27,14 @@
* A builder for the {@link Neo4jItemReader}.
*
* @author Glenn Renfro
* @author Mahmoud Ben Hassine
* @since 4.0
* @see Neo4jItemReader
*
* @deprecated since 5.0 in favor of the item reader builder from
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
*/
@Deprecated
public class Neo4jItemReaderBuilder<T> {

private SessionFactory sessionFactory;
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -26,9 +26,14 @@
* A builder implementation for the {@link Neo4jItemWriter}
*
* @author Glenn Renfro
* @author Mahmoud Ben Hassine
* @since 4.0
* @see Neo4jItemWriter
*
* @deprecated since 5.0 in favor of the item writer builder from
* https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
*/
@Deprecated
public class Neo4jItemWriterBuilder<T> {

private boolean delete = false;
Expand Down

0 comments on commit e2c0b89

Please sign in to comment.