BATCH-799 deprecated DrivingQueryItemReader support in favor of PagingItemReaders

This commit is contained in:
trisberg
2008-08-31 16:33:50 +00:00
parent 77065c3ea6
commit 3c098f6cb8
6 changed files with 12 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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> {

View File

@@ -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> {

View File

@@ -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> {

View File

@@ -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> {