Uses of Class
org.springframework.batch.item.database.builder.HibernatePagingItemReaderBuilder
Packages that use HibernatePagingItemReaderBuilder
Package
Description
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 HibernatePagingItemReaderBuilderModifier and TypeMethodDescriptionHibernatePagingItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.HibernatePagingItemReaderBuilder.fetchSize
(int fetchSize) Fetch size used internally by Hibernate to limit amount of data fetched from database per round trip.HibernatePagingItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.HibernatePagingItemReaderBuilder.pageSize
(int pageSize) The number of records to request per page/query.HibernatePagingItemReaderBuilder.parameterValues
(Map<String, Object> parameterValues) A map of parameter values to be set on the query.The name of the Hibernate named query to be executed for this reader.HibernatePagingItemReaderBuilder.queryProvider
(HibernateQueryProvider<T> queryProvider) A query provider.HibernatePagingItemReaderBuilder.queryString
(String queryString) The HQL query string to execute.HibernatePagingItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.HibernatePagingItemReaderBuilder.sessionFactory
(org.hibernate.SessionFactory sessionFactory) The HibernateSessionFactory
to execute the query against.HibernatePagingItemReaderBuilder.useStatelessSession
(boolean useStatelessSession) Indicator for whether to use aStatelessSession
(true
) or aSession
(false
).