Uses of Class
org.springframework.batch.item.database.builder.JpaPagingItemReaderBuilder
Package
Description
Builders for database item readers and writers.
-
Uses of JpaPagingItemReaderBuilder in org.springframework.batch.item.database.builder
Modifier and TypeMethodDescriptionJpaPagingItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.JpaPagingItemReaderBuilder.entityManagerFactory
(jakarta.persistence.EntityManagerFactory entityManagerFactory) TheEntityManagerFactory
to be used for executing the configuredqueryString
.JpaPagingItemReaderBuilder.hintValues
(Map<String, Object> hintValues) A map of hint values to be set on the query.JpaPagingItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.JpaPagingItemReaderBuilder.pageSize
(int pageSize) The number of records to request per page/query.JpaPagingItemReaderBuilder.parameterValues
(Map<String, Object> parameterValues) A map of parameter values to be set on the query.JpaPagingItemReaderBuilder.queryProvider
(JpaQueryProvider queryProvider) A query provider.JpaPagingItemReaderBuilder.queryString
(String queryString) The HQL query string to execute.JpaPagingItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.JpaPagingItemReaderBuilder.transacted
(boolean transacted) Indicates if a transaction should be created around the read (true by default).