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

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

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

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