BATCH-799 deprecated DrivingQueryItemReader support in favor of PagingItemReaders
This commit is contained in:
@@ -64,6 +64,8 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
*
|
||||
* @author Lucas Ward
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
public class DrivingQueryItemReader<T> implements ItemReader<T>, InitializingBean, ItemStream {
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ import com.ibatis.sqlmap.client.SqlMapClient;
|
||||
*
|
||||
* @author Lucas Ward
|
||||
* @see IbatisKeyCollector
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class IbatisDrivingQueryItemReader extends DrivingQueryItemReader {
|
||||
|
||||
@@ -9,6 +9,8 @@ import org.springframework.batch.item.ExecutionContext;
|
||||
*
|
||||
* @author Lucas Ward
|
||||
* @see DrivingQueryItemReader
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
public interface KeyCollector<T> {
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ import com.ibatis.sqlmap.client.SqlMapClient;
|
||||
* @author Robert Kasanicky
|
||||
* @author Lucas Ward
|
||||
* @see DrivingQueryItemReader
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
public class IbatisKeyCollector<T> extends ExecutionContextUserSupport implements KeyCollector<T> {
|
||||
|
||||
|
||||
@@ -52,6 +52,8 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* TODO this class has nothing to do with "multiple columns" other than default
|
||||
* values form keyMapper and preparedStatementSetter. This should be sorted out for 2.0
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
public class MultipleColumnJdbcKeyCollector<T> extends ExecutionContextUserSupport implements KeyCollector<T> {
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Lucas Ward
|
||||
* @see SingleColumnRowMapper
|
||||
* @deprecated The DrivingQueryItemReader approach is not supported going forward, use a PagingItemReader
|
||||
* implementation instead. See {@link org.springframework.batch.item.database.AbstractPagingItemReader}
|
||||
*/
|
||||
public class SingleColumnJdbcKeyCollector<T> extends ExecutionContextUserSupport implements KeyCollector<T> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user