public interface JPAWriterPattern
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.util.Properties props)
This method is invoked during create job step to allow the JPAWriter stream to
initialize.
|
void |
writeRecord(javax.persistence.EntityManager manager,
java.lang.Object record)
This method is invoked to actually persist the passed object to the database
using JPA EntityManager
|
void initialize(java.util.Properties props)
props
- Properties passed via xJCLvoid writeRecord(javax.persistence.EntityManager manager, java.lang.Object record)
manager
- record
-