Package com.exedio.dsmf.misc
Class DefaultStatementListener
- java.lang.Object
-
- com.exedio.dsmf.misc.DefaultStatementListener
-
- All Implemented Interfaces:
StatementListener
public class DefaultStatementListener extends Object implements StatementListener
-
-
Constructor Summary
Constructors Constructor Description DefaultStatementListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterExecute(String statement, int rows)
This default implementation does nothing.boolean
beforeExecute(String statement)
This default implementation does nothing and always returns true.
-
-
-
Method Detail
-
beforeExecute
public boolean beforeExecute(String statement)
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
public void afterExecute(String statement, int rows)
This default implementation does nothing.- Specified by:
afterExecute
in interfaceStatementListener
-
-