com.jdc.rdb.sql.dml.update
Class UpdateStatus
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.dml.DMLStatus
|
+--com.jdc.rdb.sql.dml.update.UpdateStatus
- public class UpdateStatus
- extends DMLStatus
UpdateStatus represents the execution status of an
Update SQL statement.
This class provides the following Update statement execution
status information:
- Whether the
Update statement execution was successful or not.
- The number of
Database Table rows updated if successful.
- The
SQLException that occurred if not successful.
- Note:
- The
UpdateStatus class is immutable.
- Version:
- 2.0
- Author:
- Jay Damon
- See Also:
Update
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getException
public SQLException getException()
- Returns the
Update statement exception, if one occurred.
- Returns:
- The
Update statement exception.
isSuccessful
public boolean isSuccessful()
- Returns
true if the Update statement execution is
successful.
- Overrides:
isSuccessful in class DMLStatus
- Returns:
True if the Update statement execution is successful.
False if the Update statement execution is not successful.
getRowCount
public int getRowCount()
- Returns the number of
Database Table
rows updated.
- Returns:
- The number of
Database Table rows updated.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.