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

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

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

  Methods in org.springframework.batch.item.database.builder that return HibernateCursorItemReaderBuilder
  Modifier and Type
  Method
  Description
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`currentItemCount(int currentItemCount)`
  Index for the current item.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`entityClass(Class<T> nativeClass)`
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`fetchSize(int fetchSize)`
  The number of items to be returned with each round trip to the database.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`maxItemCount(int maxItemCount)`
  Configure the max number of items to be read.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`nativeQuery(String nativeQuery)`
  Used to configure a `HibernateNativeQueryProvider`.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`parameterValues(Map<String,Object> parameterValues)`
  A map of parameter values to be set on the query.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`queryName(String queryName)`
  The name of the Hibernate named query to be executed for this reader.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`queryProvider(HibernateQueryProvider<T> queryProvider)`
  A query provider.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`queryString(String queryString)`
  The HQL query string to execute.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`sessionFactory(org.hibernate.SessionFactory sessionFactory)`
  The Hibernate `SessionFactory` to execute the query against.
  `HibernateCursorItemReaderBuilder<T>`
  HibernateCursorItemReaderBuilder.`useStatelessSession(boolean useStatelessSession)`
  Indicator for whether to use a `StatelessSession` (`true`) or a `Session` (`false`).