org.deegree.commons.jdbc
Class UpdateRow
java.lang.Object
org.deegree.commons.jdbc.TransactionRow
org.deegree.commons.jdbc.UpdateRow
public class UpdateRow
- extends TransactionRow
Encapsulates columns and values for updating one row in a database table.
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Goltz, last edited by: $Author: lyn $
UpdateRow
public UpdateRow(QTableName table)
setWhereClause
public void setWhereClause(String whereClause)
- Parameters:
whereClause
- the whereClause to set, without 'WHERE' in the beginning
getWhereClause
public String getWhereClause()
- Returns:
- the whereClause
getSql
public String getSql()
- Specified by:
getSql
in class TransactionRow
- Returns:
- the generated sl statement
toString
public String toString()
- Overrides:
toString
in class Object
performUpdate
public void performUpdate(Connection conn)
throws SQLException
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.