# Uses of Class
org.springframework.batch.item.database.builder.JpaPagingItemReaderBuilder

Packages that use JpaPagingItemReaderBuilder
Package
Description
org.springframework.batch.item.database.builder
Builders for database item readers and writers.

- ## Uses of JpaPagingItemReaderBuilder in org.springframework.batch.item.database.builder

  Methods in org.springframework.batch.item.database.builder that return JpaPagingItemReaderBuilder
  Modifier and Type
  Method
  Description
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`currentItemCount(int currentItemCount)`
  Index for the current item.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`entityManagerFactory(jakarta.persistence.EntityManagerFactory entityManagerFactory)`
  The `EntityManagerFactory` to be used for executing the configured `queryString`.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`maxItemCount(int maxItemCount)`
  Configure the max number of items to be read.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`pageSize(int pageSize)`
  The number of records to request per page/query.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`parameterValues(Map<String,Object> parameterValues)`
  A map of parameter values to be set on the query.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`queryProvider(JpaQueryProvider queryProvider)`
  A query provider.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`queryString(String queryString)`
  The HQL query string to execute.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `JpaPagingItemReaderBuilder<T>`
  JpaPagingItemReaderBuilder.`transacted(boolean transacted)`
  Indicates if a transaction should be created around the read (true by default).