DBColumn newColumn = new DBColumn("C1", newTable, DBDataType.getInstance("INTEGER"));
DBColumn newColumn2 = new DBColumn("C2", newTable, DBDataType.getInstance("INTEGER"));
DBNotNullConstraint constraint = new DBNotNullConstraint(newTable, "T_C1_NOT_NULL", true, "C1");
newColumn.setNotNullConstraint(constraint);
NotNullConstraintCreation constraintCreation = new NotNullConstraintCreation(constraint);
ColumnChange columnChange = new ColumnChange(newColumn);
columnChange.addSubChange(constraintCreation);
TableChange tableChange = new TableChange(oldTable, newTable);
tableChange.addSubChange(columnChange);