com.iplanet.jato.model.sql
Interface InsertQueryModel
- All Superinterfaces:
- ExecutingModel, InsertingModel, Model, ModifyingQueryModel, QueryModel, SQLModel
- All Known Implementing Classes:
- QueryModelBase
- public interface InsertQueryModel
- extends ModifyingQueryModel, InsertingModel
Specialization of QueryModel
that supports INSERT SQL queries
- Version:
- JATO/1.2.2 $Id: InsertQueryModel.java,v 1.9 2002/03/16 03:26:32 todd Exp $
executeInsert
public int executeInsert(ModelExecutionContext context)
throws java.sql.SQLException,
ModelControlException
- Executes the model in inserting 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