Package liquibase.listener
Class SqlListener
java.lang.Object
liquibase.listener.SqlListener
- All Implemented Interfaces:
LiquibaseListener
Liquibase listener for executed SQL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
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.
-