All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.snapshot.jvm.ColumnSnapshotGeneratorDm Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
package liquibase.snapshot.jvm;

import liquibase.database.Database;
import liquibase.database.core.DmDatabase;
import liquibase.structure.DatabaseObject;

/**
 * @author mengweijin
 */
public class ColumnSnapshotGeneratorDm extends ColumnSnapshotGeneratorOracle {
    @Override
    public int getPriority(Class objectType, Database database) {
        if (database instanceof DmDatabase) {
            return PRIORITY_DATABASE;
        } else {
            return PRIORITY_NONE; // Other DB? Let the generic handler do it.
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy