com.iplanet.jato.model.sql
Interface ModifyingQueryModel
- All Superinterfaces:
- ExecutingModel, Model, QueryModel, SQLModel
- All Known Subinterfaces:
- DeleteQueryModel, InsertQueryModel, UpdateQueryModel
- public interface ModifyingQueryModel
- extends QueryModel
Specialization of QueryModel
that provides information returned
by a modifying (INSERT, UPDATE, or DELETE) query. This interface is an
intermediate interface in some sense, not being fully definitive of a model's
capabilities.
- Version:
- JATO/1.2.2 $Id: ModifyingQueryModel.java,v 1.7 2002/03/16 03:26:32 todd Exp $
- See Also:
InsertQueryModel
,
UpdateQueryModel
,
DeleteQueryModel
Method Summary |
int |
getNumAffectedRows()
Returns the number of rows affected by the last modifying query |
getNumAffectedRows
public int getNumAffectedRows()
- Returns the number of rows affected by the last modifying query
- Returns:
- The number of rows affects by the last modifying query, or
-1 if unknown