Interface DbmsTargetedChange

All Known Implementing Classes:
AbstractSQLChange, CreateProcedureChange, InsertDataChange, RawSQLChange, SQLFileChange

public interface DbmsTargetedChange
Adding this interface to your Change class allows you to specify a dbms attribute listing the databases the change is applied to. This isn't in the default Change interface because normally the database targeting should be at the changeSet level since there is normally one change per changeSet. However, for certain changes (especially raw sql) it makes sense to have just some changes within a changeset run per database.
  • Method Summary

    Modifier and Type
  • Method Details

    • getDbms

      String getDbms()
      A comma separated list of dbms' that this change will be run for. Will run for all dbms' if empty or null.
    • setDbms

      void setDbms(String dbms)