Package liquibase.listener
Class SqlListener
java.lang.Object
liquibase.listener.SqlListener
- All Implemented Interfaces:
LiquibaseListener
Liquibase listener for executed SQL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadSqlWillRun(String sql) Called for any "query" sql that reads information from the database without writing to the database.voidwriteSqlWillRun(String sql) Called for any sql that modifies data, schema structure, or anything else in the database.
-
Constructor Details
-
SqlListener
public SqlListener()
-
-
Method Details
-
readSqlWillRun
Called for any "query" sql that reads information from the database without writing to the database. -
writeSqlWillRun
Called for any sql that modifies data, schema structure, or anything else in the database.
-