public interface JDBCWriterPattern
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.
|
void initialize(java.util.Properties props)
java.lang.String getSQLQuery()
java.sql.PreparedStatement writeRecord(java.sql.PreparedStatement pstmt, java.lang.Object record)
pstmt
- record
-