jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java
public DbSqlBuilder updateColumn(final Object entity, final String columnRef, final Object value) {
		String tableRef = createTableRefName(entity);

		if (!dbOomConfig.isUpdateAcceptsTableAlias()) {
			tableRef = null;
		}

		return sql().$(UPDATE).table(entity, tableRef).$(SET).ref(null, columnRef).$(EQUALS).columnValue(value).$(WHERE).matchIds(tableRef, entity);
	}
public DbSqlBuilder updateColumn(final Object entity, final String columnRef, final Object value) {
		String tableRef = createTableRefName(entity);

		if (!dbOomConfig.isUpdateAcceptsTableAlias()) {
			tableRef = null;
		}

		return sql().$(UPDATE).table(entity, tableRef).$(SET).ref(null, columnRef).$(EQUALS).columnValue(value).$(WHERE).matchIds(tableRef, entity);
	}
Creates UPDATE query for single column of an entity that is matched by id.