Uses of Class
org.springframework.batch.item.database.builder.HibernateCursorItemReaderBuilder
Packages that use HibernateCursorItemReaderBuilder
Package
Description
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 HibernateCursorItemReaderBuilderModifier and TypeMethodDescriptionHibernateCursorItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.HibernateCursorItemReaderBuilder.entityClass
(Class<T> nativeClass) HibernateCursorItemReaderBuilder.fetchSize
(int fetchSize) The number of items to be returned with each round trip to the database.HibernateCursorItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.The name used to calculate the key within theExecutionContext
.HibernateCursorItemReaderBuilder.nativeQuery
(String nativeQuery) Used to configure aHibernateNativeQueryProvider
.HibernateCursorItemReaderBuilder.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.HibernateCursorItemReaderBuilder.queryProvider
(HibernateQueryProvider<T> queryProvider) A query provider.HibernateCursorItemReaderBuilder.queryString
(String queryString) The HQL query string to execute.HibernateCursorItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.HibernateCursorItemReaderBuilder.sessionFactory
(org.hibernate.SessionFactory sessionFactory) The HibernateSessionFactory
to execute the query against.HibernateCursorItemReaderBuilder.useStatelessSession
(boolean useStatelessSession) Indicator for whether to use aStatelessSession
(true
) or aSession
(false
).