Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.batch.core.launch.support.SimpleJobLauncher
    Since v5.0.0 for removal in v5.2.0. Use TaskExecutorJobLauncher.
    org.springframework.batch.item.database.builder.HibernateCursorItemReaderBuilder
    since 5.0 for removal in 5.2. Use the JpaCursorItemReaderBuilder instead.
    org.springframework.batch.item.database.builder.HibernateItemWriterBuilder
    since 5.0 for removal in 5.2. Use the JpaItemWriterBuilder instead.
    org.springframework.batch.item.database.builder.HibernatePagingItemReaderBuilder
    since 5.0 for removal in 5.2. Use the JpaPagingItemReaderBuilder instead.
    org.springframework.batch.item.database.HibernateCursorItemReader
    since 5.0 for removal in 5.2. Use the JpaCursorItemReader instead.
    org.springframework.batch.item.database.HibernateItemReaderHelper
    since 5.0 for removal in 5.2. Use the JPA item readers instead.
    org.springframework.batch.item.database.HibernateItemWriter
    since 5.0 for removal in 5.2. Use the JpaItemWriter instead.
    org.springframework.batch.item.database.HibernatePagingItemReader
    since 5.0 for removal in 5.2. Use the JpaPagingItemReader instead.
    org.springframework.batch.item.database.orm.AbstractHibernateQueryProvider
    org.springframework.batch.item.database.orm.HibernateNativeQueryProvider
    since 5.0 for removal in 5.2. Use the JpaNativeQueryProvider instead.
    org.springframework.batch.item.database.orm.HibernateQueryProvider
    since 5.0 for removal in 5.2. Use the JpaQueryProvider instead.
    org.springframework.batch.test.AssertFile
    since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.batch.item.database.orm.HibernateQueryProvider
    since 5.0 for removal in 5.2. Use the JpaQueryProvider instead.
  • Deprecated Classes
    Class
    Description
    org.springframework.batch.core.launch.support.SimpleJobLauncher
    Since v5.0.0 for removal in v5.2.0. Use TaskExecutorJobLauncher.
    org.springframework.batch.core.listener.ChunkListenerSupport
    as of 5.0, in favor of the default methods on the ChunkListener
    org.springframework.batch.core.listener.JobExecutionListenerSupport
    as of 5.0, in favor of the default methods on the JobExecutionListener
    org.springframework.batch.core.listener.SkipListenerSupport
    as of v5.0 in favor of the default methods in SkipListener.
    org.springframework.batch.core.listener.StepExecutionListenerSupport
    as of 5.0, in favor of the default methods on the StepExecutionListener
    org.springframework.batch.item.data.builder.Neo4jItemReaderBuilder
    since 5.0 in favor of the item reader builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
    org.springframework.batch.item.data.builder.Neo4jItemWriterBuilder
    since 5.0 in favor of the item writer builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
    org.springframework.batch.item.data.Neo4jItemReader
    since 5.0 in favor of the item reader from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
    org.springframework.batch.item.data.Neo4jItemWriter
    since 5.0 in favor of the item writer from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
    org.springframework.batch.item.database.builder.HibernateCursorItemReaderBuilder
    since 5.0 for removal in 5.2. Use the JpaCursorItemReaderBuilder instead.
    org.springframework.batch.item.database.builder.HibernateItemWriterBuilder
    since 5.0 for removal in 5.2. Use the JpaItemWriterBuilder instead.
    org.springframework.batch.item.database.builder.HibernatePagingItemReaderBuilder
    since 5.0 for removal in 5.2. Use the JpaPagingItemReaderBuilder instead.
    org.springframework.batch.item.database.HibernateCursorItemReader
    since 5.0 for removal in 5.2. Use the JpaCursorItemReader instead.
    org.springframework.batch.item.database.HibernateItemReaderHelper
    since 5.0 for removal in 5.2. Use the JPA item readers instead.
    org.springframework.batch.item.database.HibernateItemWriter
    since 5.0 for removal in 5.2. Use the JpaItemWriter instead.
    org.springframework.batch.item.database.HibernatePagingItemReader
    since 5.0 for removal in 5.2. Use the JpaPagingItemReader instead.
    org.springframework.batch.item.database.orm.AbstractHibernateQueryProvider
    org.springframework.batch.item.database.orm.HibernateNativeQueryProvider
    since 5.0 for removal in 5.2. Use the JpaNativeQueryProvider instead.
    org.springframework.batch.repeat.listener.RepeatListenerSupport
    as of v5.0 in favor of the default methods in RepeatListener.
    org.springframework.batch.test.AssertFile
    since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.
  • Deprecated Methods
    Method
    Description
    org.springframework.batch.core.repository.dao.JdbcJobInstanceDao.setJobIncrementer(DataFieldMaxValueIncrementer)
    as of v5.0 in favor of using the JdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer)
    org.springframework.batch.item.database.support.SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, boolean, String)
    as of v5.0 in favor of SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, java.lang.String)

Copyright © 2022 Spring. All rights reserved.