com.ibm.websphere.batch.devframework.datastreams.patternadapter
Interface JDBCWriterPattern
- public interface JDBCWriterPattern
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getSQLQuery()
This is typically an Update query used to write data into the DB
|
|
initialize(java.util.Properties props)
|
|
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: