Uses of Class
org.springframework.batch.item.database.builder.JpaItemWriterBuilder
Packages that use JpaItemWriterBuilder
Package
Description
Builders for database item readers and writers.
-
Uses of JpaItemWriterBuilder in org.springframework.batch.item.database.builder
Methods in org.springframework.batch.item.database.builder that return JpaItemWriterBuilderModifier and TypeMethodDescriptionJpaItemWriterBuilder.clearPersistenceContext
(boolean clearPersistenceContext) If set to false, theEntityManager
will not be cleared at the end of the chunk. defaults to trueJpaItemWriterBuilder.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.