protected static class AbstractStatementsWriter.UpdateStatement extends AbstractStatementsWriter.AbstractTableStatement
Modifier and Type | Field and Description |
---|---|
private GeneratorColumn |
idColumn |
private ColumnExpression |
idValue |
Modifier | Constructor and Description |
---|---|
protected |
UpdateStatement(GeneratorDialect dialect,
GeneratorTable table,
GeneratorColumn idColumn,
ColumnExpression idValue)
Creates a new instance of UpdateStatement.
|
Modifier and Type | Method and Description |
---|---|
GeneratorColumn |
getIdColumn() |
ColumnExpression |
getIdValue() |
String |
toSql()
Prints this statement as SQL.
|
getDialect, getTable, getValues, isPlainExpressionAvailable, reset, setColumnValue, toString
private final GeneratorColumn idColumn
private final ColumnExpression idValue
protected UpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue)
dialect
- the current database dialecttable
- the affected tableidColumn
- the column that contains the id of the changed entityidValue
- the expression for the id of the changed entitypublic String toSql()
EntityStatement
@Generated(value="lombok") public GeneratorColumn getIdColumn()
@Generated(value="lombok") public ColumnExpression getIdValue()
Copyright © 2022 fastnate.org. All rights reserved.