Class ForeignKeyConstraintUtils
java.lang.Object
com.atlassian.bamboo.upgrade.tasks.util.ForeignKeyConstraintUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
dropForeignKeyConstraint
(DbmsBean dbmsBean, Connection c, String tableName, String constraint) getAllForeignKeyConstraints
(DbmsBean dbmsBean, Connection c, Collection<String> tables)
-
Method Details
-
getAllForeignKeyConstraints
public static com.google.common.collect.HashMultimap<String,String> getAllForeignKeyConstraints(DbmsBean dbmsBean, Connection c, Collection<String> tables) -
dropForeignKeyConstraint
public static void dropForeignKeyConstraint(DbmsBean dbmsBean, Connection c, String tableName, String constraint)
-