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 $
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