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

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

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

  Methods in org.springframework.batch.item.database.builder that return HibernatePagingItemReaderBuilder
  Modifier and Type
  Method
  Description
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`currentItemCount(int currentItemCount)`
  Index for the current item.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`fetchSize(int fetchSize)`
  Fetch size used internally by Hibernate to limit amount of data fetched from database per round trip.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`maxItemCount(int maxItemCount)`
  Configure the max number of items to be read.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`pageSize(int pageSize)`
  The number of records to request per page/query.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`parameterValues(Map<String,Object> parameterValues)`
  A map of parameter values to be set on the query.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`queryName(String queryName)`
  The name of the Hibernate named query to be executed for this reader.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`queryProvider(HibernateQueryProvider<T> queryProvider)`
  A query provider.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`queryString(String queryString)`
  The HQL query string to execute.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`sessionFactory(org.hibernate.SessionFactory sessionFactory)`
  The Hibernate `SessionFactory` to execute the query against.
  `HibernatePagingItemReaderBuilder<T>`
  HibernatePagingItemReaderBuilder.`useStatelessSession(boolean useStatelessSession)`
  Indicator for whether to use a `StatelessSession` (`true`) or a `Session` (`false`).