@Override
	public int update(DataColumns dataColumns) throws SQLException {

		UpdateBuilder<DataColumns, TableColumnKey> ub = updateBuilder();
		ub.updateColumnValue(DataColumns.COLUMN_NAME, dataColumns.getName());
		ub.updateColumnValue(DataColumns.COLUMN_TITLE, dataColumns.getTitle());
		ub.updateColumnValue(DataColumns.COLUMN_DESCRIPTION,
				dataColumns.getDescription());
		ub.updateColumnValue(DataColumns.COLUMN_MIME_TYPE,
				dataColumns.getMimeType());
		ub.updateColumnValue(DataColumns.COLUMN_CONSTRAINT_NAME,
				dataColumns.getConstraintName());

		ub.where()
				.eq(DataColumns.COLUMN_TABLE_NAME, dataColumns.getTableName())
				.and()
				.eq(DataColumns.COLUMN_COLUMN_NAME, dataColumns.getColumnName());

		PreparedUpdate<DataColumns> update = ub.prepare();
		int updated = update(update);

		return updated;
	}
@ Override public int update ( DataColumns dataColumns ) throws SQLException { UpdateBuilder < DataColumns , TableColumnKey > ub = updateBuilder ( ) ; ub . updateColumnValue ( DataColumns . COLUMN_NAME , dataColumns . getName ( ) ) ; ub . updateColumnValue ( DataColumns . COLUMN_TITLE , dataColumns . getTitle ( ) ) ; ub . updateColumnValue ( DataColumns . COLUMN_DESCRIPTION , dataColumns . getDescription ( ) ) ; ub . updateColumnValue ( DataColumns . COLUMN_MIME_TYPE , dataColumns . getMimeType ( ) ) ; ub . updateColumnValue ( DataColumns . COLUMN_CONSTRAINT_NAME , dataColumns . getConstraintName ( ) ) ; ub . where ( ) . eq ( DataColumns . COLUMN_TABLE_NAME , dataColumns . getTableName ( ) ) . and ( ) . eq ( DataColumns . COLUMN_COLUMN_NAME , dataColumns . getColumnName ( ) ) ; PreparedUpdate < DataColumns > update = ub . prepare ( ) ; int updated = update ( update ) ; return updated ; }
{@inheritDoc}

Update using the complex key