Class SqlListener

java.lang.Object
liquibase.listener.SqlListener
All Implemented Interfaces:
LiquibaseListener

public class SqlListener extends Object implements LiquibaseListener
Liquibase listener for executed SQL
  • Constructor Details

    • SqlListener

      public SqlListener()
  • Method Details

    • readSqlWillRun

      public void readSqlWillRun(String sql)
      Called for any "query" sql that reads information from the database without writing to the database.
    • writeSqlWillRun

      public void writeSqlWillRun(String sql)
      Called for any sql that modifies data, schema structure, or anything else in the database.