public class MySqlPreparedStatementInsert extends PreparedStatementInsert
Sample Generated SQL:
INSERT IGNORE INTO tableName (col1, col2, col3) VALUES (?, ?, ?)
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
MySqlPreparedStatementInsert() |
Modifier and Type | Method and Description |
---|---|
MySqlPreparedStatementInsert |
clone() |
boolean |
isIgnoreOnError() |
void |
prepare(JdbcWriter writer,
Record record) |
MySqlPreparedStatementInsert |
setIgnoreOnError(boolean ignoreOnError) |
addBatch, addExceptionProperties, close, executeBatch, executeUpdate, isBatchSupported, isDebug, setDebug, setInsertStatement, setValues
public boolean isIgnoreOnError()
public MySqlPreparedStatementInsert setIgnoreOnError(boolean ignoreOnError)
public void prepare(JdbcWriter writer, Record record) throws Throwable
prepare
in interface IInsert
prepare
in class PreparedStatementInsert
Throwable
public MySqlPreparedStatementInsert clone()
clone
in interface IInsert
clone
in class PreparedStatementInsert
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.