You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit removes the deprecated Map-based job repository
and job explorer implementations with their respective DAOs.
Using the `EnableBatchProcessing` annotation now requires a
datasource bean to be defined in the application context.
This will be reviewed as part of #3942.
This commit is a first pass that updates related tests to use
the JDBC-based job repository/explorer with an embedded database.
A second pass should be done to improve tests by caching/reusing
embedded databases if possible.
Issue #3836
As of v4, spring-jdbc was optional since
Spring Batch provided a Map-based job
repository.
In v5, the Map-based job repository has
been removed and the only option now is
the Jdbc-based implementation which requires
spring-jdbc.
Resolves#4048
Related to #3836
The following APIs have been marked as deprecated in previous versions and should be removed in v5:
MapJobRepositoryFactoryBean
MapExecutionContextDao
MapJobExecutionDao
MapJobInstanceDao
MapStepExecutionDao
MapJobExplorerFactoryBean
XStreamExecutionContextStringSerializer
ClassPathXmlJobRegistry
ClassPathXmlApplicationContextFactory
ScheduledJobParametersFactory
AbstractNeo4jItemReader
ListPreparedStatementSetter
RemoteChunkingMasterStepBuilder
(and related TODO inBatchIntegrationNamespaceHandler
)RemoteChunkingMasterStepBuilderFactory
RemotePartitioningMasterStepBuilder
RemotePartitioningMasterStepBuilderFactory
AbstractJobTests
org.springframework.batch.item.xml.StaxUtils
org.springframework.batch.item.file.transform.Alignment
JobExecution#stop()
JobParameters#getDouble(String key, double defaultValue)
JobParameters#getLong(String key, long defaultValue)
SimpleStepExecutionSplitter(JobRepository jobRepository, Step step, Partitioner partitioner)
SimpleStepExecutionSplitter#getStartable(StepExecution stepExecution, ExecutionContext context)
AbstractJobRepositoryFactoryBean#getJobRepository()
AbstractCursorItemReader#cleanupOnClose()
HibernateItemWriter#doWrite(HibernateOperations hibernateTemplate, List<? extends T> items)
JdbcCursorItemReader#cleanupOnClose()
StoredProcedureItemReader#cleanupOnClose()
HibernatePagingItemReaderBuilder#useSatelessSession(boolean useStatelessSession)
MultiResourceItemReader#getCurrentResource()
BatchIntegrationConfiguration#remoteChunkingMasterStepBuilderFactory()
BatchIntegrationConfiguration#remotePartitioningMasterStepBuilderFactory()
org.springframework.batch.item.util.FileUtils#setUpOutputFile(File file, boolean restarted, boolean overwriteOutputFile)
The text was updated successfully, but these errors were encountered: