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

Interface JDBCWriterPattern


  1. public interface JDBCWriterPattern

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getSQLQuery()
This is typically an Update query used to write data into the DB
  1. void
initialize(java.util.Properties props)
  1. java.sql.PreparedStatement
writeRecord(java.sql.PreparedStatement pstmt,java.lang.Object record)
The parent class BDSJDBCWriter creates a new preparedstatement and passes it to this method.

Method Detail

initialize

  1. void initialize(java.util.Properties props)

getSQLQuery

  1. java.lang.String getSQLQuery()
This is typically an Update query used to write data into the DB
Returns:

writeRecord

  1. java.sql.PreparedStatement writeRecord( java.sql.PreparedStatement pstmt,
  2. java.lang.Object record)
The parent class BDSJDBCWriter creates a new preparedstatement and passes it to this method. This method populates the preparedstatement with appropriate values and returns it to the parent class for execution
Parameters:
pstmt -
record -
Returns: