Class DefaultStatementListener

    • Constructor Detail

      • DefaultStatementListener

        public DefaultStatementListener()
    • Method Detail

      • 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