constraints.addConstraint(def);
}
else if (constraintType.startsWith("CHECK"))
{
CheckConstraint check = new CheckConstraint();
String col = constraintType.substring(16).trim(); // chop off "CHECK on column ";
check.setConstraintName(constraintName);
check.addConstraintColumn(col);
check.setCheckExpression(constraintKeys);
constraints.addConstraint(check);
}
else if (constraintType.startsWith("FOREIGN KEY"))
{