public class NativeSqlInsertTerminal extends AbstractStatement<NativeSqlInsertTerminal,java.lang.Integer>
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME| Constructor and Description |
|---|
NativeSqlInsertTerminal(Config config,
InsertDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
protected Command<java.lang.Integer> |
createCommand() |
java.lang.Integer |
execute()
Executes the SQL statement.
|
NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys |
onDuplicateKeyIgnore()
Create statement builder that inserts or ignore
|
NativeSqlUpsertOnDuplicateKeyUpdateSelectingKeys |
onDuplicateKeyUpdate()
Create statement builder that inserts or updates
|
asSql, createCommenter, peekpublic NativeSqlInsertTerminal(Config config, InsertDeclaration declaration)
public NativeSqlUpsertOnDuplicateKeyUpdateSelectingKeys onDuplicateKeyUpdate()
public NativeSqlUpsertOnDuplicateKeyIgnoreSelectingKeys onDuplicateKeyIgnore()
public java.lang.Integer execute()
execute in interface Statement<java.lang.Integer>execute in class AbstractStatement<NativeSqlInsertTerminal,java.lang.Integer>UniqueConstraintException - if an unique constraint is violatedJdbcException - if a JDBC related error occursprotected Command<java.lang.Integer> createCommand()
createCommand in class AbstractStatement<NativeSqlInsertTerminal,java.lang.Integer>