protected static class AbstractStatementsWriter.InsertStatement extends AbstractStatementsWriter.AbstractTableStatement
| Constructor and Description |
|---|
InsertStatement(GeneratorDialect dialect,
GeneratorTable table)
Creates a new instance of InsertStatement.
|
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
addColumns(StringBuilder result,
Collection<?> columns)
Adds columns to an SQL expression.
|
String |
toSql()
Prints this statement as SQL.
|
getDialect, getTable, getValues, isPlainExpressionAvailable, reset, setColumnValue, toStringpublic InsertStatement(GeneratorDialect dialect, GeneratorTable table)
dialect - the current database dialecttable - the affected tableprotected StringBuilder addColumns(StringBuilder result, Collection<?> columns)
result - the string buildercolumns - contains the columnsresult for chainingpublic String toSql()
EntityStatementCopyright © 2022 fastnate.org. All rights reserved.