Uses of Class
org.springframework.batch.item.database.builder.JpaCursorItemReaderBuilder
Package
Description
Builders for database item readers and writers.
-
Uses of JpaCursorItemReaderBuilder in org.springframework.batch.item.database.builder
Modifier and TypeMethodDescriptionJpaCursorItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.JpaCursorItemReaderBuilder.entityManagerFactory
(jakarta.persistence.EntityManagerFactory entityManagerFactory) TheEntityManagerFactory
to be used for executing the configuredqueryString
.JpaCursorItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.JpaCursorItemReaderBuilder.parameterValues
(Map<String, Object> parameterValues) A map of parameter values to be set on the query.JpaCursorItemReaderBuilder.queryProvider
(JpaQueryProvider queryProvider) A query provider.JpaCursorItemReaderBuilder.queryString
(String queryString) The JPQL query string to execute.JpaCursorItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.