com.ibm.websphere.batch.devframework.datastreams.patternadapter
Interface JPAWriterPattern
- public interface JPAWriterPattern
Method Summary
Modifier and Type | Method and Description |
---|---|
|
initialize(java.util.Properties props)
This method is invoked during create job step to allow the JPAWriter stream to
initialize.
|
|
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
|
Method Detail
initialize
- void initialize(java.util.Properties props)
This method is invoked during create job step to allow the JPAWriter stream to
initialize.
Parameters:
props
- Properties passed via xJCL writeRecord
- 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
Parameters:
manager
- record
-