com.iplanet.jato.model.sql
Interface UpdateQueryModel

All Superinterfaces:
ExecutingModel, Model, ModifyingQueryModel, QueryModel, SQLModel, UpdatingModel
All Known Implementing Classes:
QueryModelBase

public interface UpdateQueryModel
extends ModifyingQueryModel, UpdatingModel

Specialization of QueryModel that supports UPDATE SQL queries

Version:
JATO/1.2.2 $Id: UpdateQueryModel.java,v 1.9 2002/03/16 03:26:34 todd Exp $

Method Summary
 int executeUpdate(ModelExecutionContext context)
          Executes the model in updating mode, using the provided execution context
 
Methods inherited from interface com.iplanet.jato.model.sql.ModifyingQueryModel
getNumAffectedRows
 
Methods inherited from interface com.iplanet.jato.model.sql.QueryModel
getFieldSchema
 
Methods inherited from interface com.iplanet.jato.model.sql.SQLModel
getDataSourceName
 
Methods inherited from interface com.iplanet.jato.model.ExecutingModel
execute
 
Methods inherited from interface com.iplanet.jato.model.Model
getName, getValue, getValues, setName, setValue, setValues
 
Methods inherited from interface com.iplanet.jato.model.UpdatingModel
update
 

Method Detail

executeUpdate

public int executeUpdate(ModelExecutionContext context)
                  throws java.sql.SQLException,
                         ModelControlException
Executes the model in updating mode, using the provided execution context
Parameters:
context - The execution context to be used during the execution of this query. This parameter cannot be null or an java.lang.IllegalArgumentException will be thrown.
Returns:
The number of rows in the database affected by this query