public class MigrationUtils extends Object
| Constructor and Description |
|---|
MigrationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
dropDBConstraint(Connection connection,
String tableName,
String columnName)
Drop a given Database Column Constraint (based on the current database type).
|
public static Integer dropDBConstraint(Connection connection, String tableName, String columnName) throws SQLException
connection - the current Database connectiontableName - the name of the table the constraint applies tocolumnName - the name of the column the constraint applies toSQLException - if a database error occursCopyright © 2016 DuraSpace. All Rights Reserved.