liquibase.change
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 targetting 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
 String getDbms()
           
 void setDbms(String dbms)
           
 

Method Detail

getDbms

String getDbms()
Returns:
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)


Copyright © 2014 Liquibase.org. All Rights Reserved.