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

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

		return sql().$(UPDATE).table(entity, tableRef).setAll(tableRef, entity).$(WHERE).matchIds(tableRef, entity);
	}
public DbSqlBuilder updateAll(final Object entity) {
		String tableRef = createTableRefName(entity);

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

		return sql().$(UPDATE).table(entity, tableRef).setAll(tableRef, entity).$(WHERE).matchIds(tableRef, entity);
	}
public DbSqlBuilder updateAll ( final Object entity ) { String tableRef = createTableRefName ( entity ) ; if ( ! dbOomConfig . isUpdateAcceptsTableAlias ( ) ) { tableRef = null ; } return sql ( ) . $ ( UPDATE ) . table ( entity , tableRef ) . setAll ( tableRef , entity ) . $ ( WHERE ) . matchIds ( tableRef , entity ) ; }
Creates UPDATE query that updates all values of an entity that is matched by id.
Creates UPDATE query that updates all values of an entity that is matched by id .