Uses of Class
org.springframework.batch.item.database.builder.JpaItemWriterBuilder
Package
Description
Builders for database item readers and writers.
-
Uses of JpaItemWriterBuilder in org.springframework.batch.item.database.builder
Modifier and TypeMethodDescriptionJpaItemWriterBuilder.clearPersistenceContext
(boolean clearPersistenceContext) If set to false, theEntityManager
will not be cleared at the end of the chunk.JpaItemWriterBuilder.entityManagerFactory
(jakarta.persistence.EntityManagerFactory entityManagerFactory) The JPAEntityManagerFactory
to obtain an entity manager from.JpaItemWriterBuilder.usePersist
(boolean usePersist) Set whether the entity manager should perform a persist instead of a merge.