Package com.exedio.dsmf.misc
Class DefaultStatementListener
java.lang.Object
com.exedio.dsmf.misc.DefaultStatementListener
- All Implemented Interfaces:
StatementListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterExecute
(String statement, int rows) This default implementation does nothing.boolean
beforeExecute
(String statement) This default implementation does nothing and always returns true.
-
Constructor Details
-
DefaultStatementListener
public DefaultStatementListener()
-
-
Method Details
-
beforeExecute
This default implementation does nothing and always returns true.- Specified by:
beforeExecute
in interfaceStatementListener
- Returns:
- true, if the statement is really to be executed false, if this is just a dry run
-
afterExecute
This default implementation does nothing.- Specified by:
afterExecute
in interfaceStatementListener
-