Class AbstractStatementsWriter.UpdateStatement

java.lang.Object
org.fastnate.generator.statements.AbstractStatementsWriter.AbstractTableStatement
org.fastnate.generator.statements.AbstractStatementsWriter.UpdateStatement
All Implemented Interfaces:
EntityStatement, TableStatement
Enclosing class:
AbstractStatementsWriter

protected static class AbstractStatementsWriter.UpdateStatement extends AbstractStatementsWriter.AbstractTableStatement
Holds the information for an SQL update statement.
Author:
Tobias Liefke
  • Field Details

  • Constructor Details

    • UpdateStatement

      protected UpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue)
      Creates a new instance of UpdateStatement.
      Parameters:
      dialect - the current database dialect
      table - the affected table
      idColumn - the column that contains the id of the changed entity
      idValue - the expression for the id of the changed entity
  • Method Details