|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jdbw.util.BatchUpdateHandlerAdapter
public class BatchUpdateHandlerAdapter
This is a convenience class that implements ExecuteResultHandler and provides a default method implementation for this interface. You can then override only the methods that you care about.
| Constructor Summary | |
|---|---|
BatchUpdateHandlerAdapter()
|
|
| Method Summary | |
|---|---|
void |
onBatchResult(int[] returnCodes)
Callback method for the return codes of the batch |
void |
onGeneratedKey(Object object)
Callback method for generated keys that happened during the batch. |
void |
onWarning(SQLWarning warning)
Callback method for SQLWarnings that occurred during the batch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchUpdateHandlerAdapter()
| Method Detail |
|---|
public void onGeneratedKey(Object object)
BatchUpdateHandler
onGeneratedKey in interface BatchUpdateHandlerpublic void onWarning(SQLWarning warning)
BatchUpdateHandler
onWarning in interface BatchUpdateHandlerpublic void onBatchResult(int[] returnCodes)
BatchUpdateHandler
onBatchResult in interface BatchUpdateHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||