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 TypeMethodDescriptionvoidafterExecute(String statement, int rows) This default implementation does nothing.booleanbeforeExecute(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:
beforeExecutein 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:
afterExecutein interfaceStatementListener
-