return;
}
validateAttributes();
DatabaseType db_type = getDatabaseType();
Connection conn = getConnection();
int jdbc_type_int = translateSqlType(columnType);
try {
// Check to see if the column exists.
boolean foundColumn = db_type.checkColumnExists(conn, table, column);
if (!foundColumn) {
throw new BuildException(MSG.getMsg(DbAntI18NResourceKeys.UPDATE_COLUMN_DOES_NOT_EXIST, column, table));
}
log(MSG.getMsg(DbAntI18NResourceKeys.UPDATE_EXECUTING, columnType, jdbc_type_int, table, column, value,
where));
db_type.update(conn, table, column, where, value, jdbc_type_int);
} catch (Exception e) {
throw new BuildException(MSG.getMsg(DbAntI18NResourceKeys.UPDATE_ERROR, table, column, e), e);
}
}