public class JpaItemWriterBuilder<T>
extends java.lang.Object
JpaItemWriter
.JpaItemWriter
Constructor and Description |
---|
JpaItemWriterBuilder() |
Modifier and Type | Method and Description |
---|---|
JpaItemWriter<T> |
build()
Returns a fully built
JpaItemWriter . |
JpaItemWriterBuilder<T> |
entityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
The JPA
EntityManagerFactory to obtain an entity manager from. |
public JpaItemWriterBuilder<T> entityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
EntityManagerFactory
to obtain an entity manager from. Required.entityManagerFactory
- the EntityManagerFactory
JpaItemWriter.setEntityManagerFactory(EntityManagerFactory)
public JpaItemWriter<T> build()
JpaItemWriter
.