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