|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.db.Statement | +--com.ibm.db.SQLStatement
SQLStatement represents an SQL statement that doesn't return a result set.
Statement
, Serialized FormConstructor Summary | |
SQLStatement()
Constructs a new SQLStatement. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener to the PropertyChange event set. |
void |
cancelExecution()
Cancels execution of the SQL statement which is associated with this SQLStatement. |
void |
execute()
Executes the SQL statement. |
int |
getNumAffectedRows()
Returns the number of rows that were affected by executing the SQL statement. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a listener to the PropertyChange event set. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SQLStatement()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- PropertyChangeListener
removePropertyChangeListener(java.beans.PropertyChangeListener)
public void cancelExecution() throws DataException
public void execute() throws DataException
The events aboutExecute
and executed
are
triggered by this method.
DatabaseConnection
,
StatementMetaData
public int getNumAffectedRows()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- PropertyChangeListener
addPropertyChangeListener(java.beans.PropertyChangeListener)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |