public class OracleMultiRowSelectUnionAllStatementInsert extends OracleMultiRowStatementInsert
Sample Generated SQL:
INSERT INTO tableName (col1, col2, col3)
SELECT 'val1', 'val2', 'val3' FROM dual UNION ALL
SELECT 'val1', 'val2', 'val3' FROM dual UNION ALL
...
SELECT 'val1', 'val2', 'val3' FROM dual
DATE_FORMAT, DATE_TIME_FORMAT, TIME_FORMAT
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
OracleMultiRowSelectUnionAllStatementInsert() |
Modifier and Type | Method and Description |
---|---|
OracleMultiRowSelectUnionAllStatementInsert |
clone() |
void |
executeUpdate() |
void |
prepare(JdbcWriter writer,
Record record) |
void |
setValues(JdbcWriter writer,
Record record) |
addBatch, addExceptionProperties, close, executeBatch, getBigDecimalLiteral, getBigIntegerLiteral, getBooleanLiteral, getByteLiteral, getBytesLiteral, getDateLiteral, getDateTimeLiteral, getDoubleLiteral, getFloatLiteral, getInsertSql, getInsertSqlPrefix, getInsertStatement, getIntLiteral, getLongLiteral, getRecordsPendingInsert, getShortLiteral, getSqlValueLiteral, getStringLiteral, getTimeLiteral, isBatchSupported, isDebug, setDebug, setInsertSqlPrefix, setInsertStatement, setRecordsPendingInsert
public OracleMultiRowSelectUnionAllStatementInsert()
public void prepare(JdbcWriter writer, Record record) throws Throwable
prepare
in interface IInsert
prepare
in class MultiRowStatementInsert
Throwable
public void setValues(JdbcWriter writer, Record record) throws Throwable
setValues
in interface IInsert
setValues
in class MultiRowStatementInsert
Throwable
public void executeUpdate() throws Throwable
executeUpdate
in interface IInsert
executeUpdate
in class MultiRowStatementInsert
Throwable
public OracleMultiRowSelectUnionAllStatementInsert clone()
clone
in interface IInsert
clone
in class MultiRowStatementInsert
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.