public class Update extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
assignments |
protected Map<String,String> |
columns |
protected String |
comment |
protected Map<String,String> |
primaryKeyColumns |
protected String |
tableName |
protected String |
versionColumnName |
protected String |
where |
protected Map<String,String> |
whereColumns |
protected String tableName
protected String versionColumnName
protected String where
protected String assignments
protected String comment
public Update(Dialect dialect)
public String getTableName()
public Update addPrimaryKeyColumns(String[] columnNames, boolean[] includeColumns, String[] valueExpressions)
public Update addPrimaryKeyColumns(String[] columnNames, String[] valueExpressions)
public Update addColumns(String[] columnNames, boolean[] updateable, String[] valueExpressions)
public Update addColumn(String columnName, Object value, LiteralType type) throws Exception
Exception
public String toStatementString()
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.