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

Interface JDBCWriterPattern



  • public interface JDBCWriterPattern
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getSQLQuery()
      This is typically an Update query used to write data into the DB
      void initialize(java.util.Properties props) 
      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

        void initialize(java.util.Properties props)
      • getSQLQuery

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

        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. This method populates the preparedstatement with appropriate values and returns it to the parent class for execution
        Parameters:
        pstmt -
        record -
        Returns:
IBM WebSphere Application ServerTM
Release 9.0