Interface SQLDetailedListener

All Superinterfaces:
SQLListener
All Known Implementing Classes:
SQLBaseListener, SQLCloseListener, SQLListeners, SQLNoCloseListener

public interface SQLDetailedListener extends SQLListener
An extended listener interface that details much more about the preparation and execution of queries
  • Method Details

    • start

      void start(SQLListenerContext context)
      Called at the start of a query. Most context parameters are empty at this stage
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • preRender

      void preRender(SQLListenerContext context)
      Called at the start of SQL rendering.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • rendered

      void rendered(SQLListenerContext context)
      Called at the end of SQL rendering. The sql context value will not be available
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • prePrepare

      void prePrepare(SQLListenerContext context)
      Called at the start of PreparedStatement preparation.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • prepared

      void prepared(SQLListenerContext context)
      Called at the end of PreparedStatement preparation.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • preExecute

      void preExecute(SQLListenerContext context)
      Called at the start of PreparedStatement execution.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • executed

      void executed(SQLListenerContext context)
      Called at the end of PreparedStatement execution.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • exception

      void exception(SQLListenerContext context)
      Called if an exception happens during query building and execution. The context exception values will now be available indicating the exception that occurred.
      Parameters:
      context - a context object that is progressively filled out as the query executes
    • end

      void end(SQLListenerContext context)
      Called at the end of a query.
      Parameters:
      context - a context object that is progressively filled out as the query executes