com.ibm.websphere.batch.devframework.datastreams.patternadapter

Interface JPAWriterPattern


  1. public interface JPAWriterPattern

Method Summary

Modifier and Type Method and Description
  1. void
initialize(java.util.Properties props)
This method is invoked during create job step to allow the JPAWriter stream to initialize.
  1. 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

Method Detail

initialize

  1. 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

  1. void writeRecord(javax.persistence.EntityManager manager,
  2. java.lang.Object record)
This method is invoked to actually persist the passed object to the database using JPA EntityManager
Parameters:
manager -
record -