|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.mungoknotwise.sqlcli.UpdateCommand
Performs a non-SELECT SQL command and handles the resulting rowcount.
| Constructor Summary | |
UpdateCommand()
Constructs a new instance of UpdateCommand. |
|
| Method Summary | |
void |
execute()
Executes the command, handling the results. |
void |
setCommand(java.lang.String command)
Sets the SQL command to be executed. |
void |
setConnection(java.sql.Connection connection)
Sets the connection for this command. |
void |
setExceptionHandler(ExceptionHandler exceptionHandler)
Sets the exception handler for this command. |
void |
setRowcountHandler(UpdateRowcountHandler rowcountHandler)
Sets the update rowcount handler for this command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UpdateCommand()
UpdateCommand.
| Method Detail |
public void execute()
execute in interface RowcountHandlingCommandpublic void setCommand(java.lang.String command)
command - the commandpublic void setConnection(java.sql.Connection connection)
connection - the connectionpublic void setExceptionHandler(ExceptionHandler exceptionHandler)
setExceptionHandler in interface RowcountHandlingCommandexceptionHandler - the exception handlerpublic void setRowcountHandler(UpdateRowcountHandler rowcountHandler)
setRowcountHandler in interface RowcountHandlingCommandrowcountHandler - the rowcount handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||