Package liquibase.listener
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 Summary
Constructors Constructor Description SqlListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
readSqlWillRun(String sql)
Called for any "query" sql that reads information from the database without writing to the database.void
writeSqlWillRun(String sql)
Called for any sql that modifies data, schema structure, or anything else in the database.
-
-
-
Method Detail
-
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.
-
-