Class DefaultStatementListener

java.lang.Object
com.exedio.dsmf.misc.DefaultStatementListener
All Implemented Interfaces:
StatementListener

public class DefaultStatementListener extends Object implements StatementListener
  • Constructor Details

    • DefaultStatementListener

      public DefaultStatementListener()
  • Method Details

    • beforeExecute

      public boolean beforeExecute(String statement)
      This default implementation does nothing and always returns true.
      Specified by:
      beforeExecute in interface StatementListener
      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 interface StatementListener