Deprecate support for Neo4j
This commit deprecates support for Neo4j in favor of the spring-batch-neo4j extension Resolves #3956
This commit is contained in:
@@ -59,7 +59,11 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @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());
|
||||
|
||||
@@ -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.
|
||||
@@ -42,7 +42,11 @@ import org.springframework.util.CollectionUtils;
|
||||
* @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
|
||||
|
||||
@@ -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.
|
||||
@@ -27,9 +27,14 @@ import org.springframework.util.Assert;
|
||||
* 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;
|
||||
|
||||
@@ -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.
|
||||
@@ -26,9 +26,14 @@ import org.springframework.util.Assert;
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user