diff --git a/src/java/com/samskivert/depot/DepotRepository.java b/src/java/com/samskivert/depot/DepotRepository.java index e3f5250..57d6b10 100644 --- a/src/java/com/samskivert/depot/DepotRepository.java +++ b/src/java/com/samskivert/depot/DepotRepository.java @@ -633,50 +633,6 @@ public abstract class DepotRepository return updatePartial(_ctx.getMarshaller(type).makePrimaryKey(primaryKey), fieldsValues); } - /** - * Updates the specified columns for all persistent objects matching the supplied two-column - * primary key. - * - * @param type the type of the persistent object to be modified. - * @param fieldsValues an array containing the columns (as ColumnExp) and the values to be - * assigned, in key, value, key, value, etc. order. - * - * @return the number of rows modified by this action. - * - * @throws DuplicateKeyException if the update attempts to change the key columns of a row to - * values that duplicate another row already in the database. - * @throws DatabaseException if any problem is encountered communicating with the database. - */ - protected int updatePartial ( - Class type, ColumnExp ix1, Comparable val1, ColumnExp ix2, Comparable val2, - Object... fieldsValues) - throws DatabaseException - { - return updatePartial(new Key(type, ix1, val1, ix2, val2), fieldsValues); - } - - /** - * Updates the specified columns for all persistent objects matching the supplied three-column - * primary key. - * - * @param type the type of the persistent object to be modified. - * @param fieldsValues an array containing the columns (as ColumnExp) and the values to be - * assigned, in key, value, key, value, etc. order. - * - * @return the number of rows modified by this action. - * - * @throws DuplicateKeyException if the update attempts to change the key columns of a row to - * values that duplicate another row already in the database. - * @throws DatabaseException if any problem is encountered communicating with the database. - */ - protected int updatePartial ( - Class type, ColumnExp ix1, Comparable val1, ColumnExp ix2, Comparable val2, - ColumnExp ix3, Comparable val3, Object... fieldsValues) - throws DatabaseException - { - return updatePartial(new Key(type, ix1, val1, ix2, val2, ix3, val3), fieldsValues); - } - /** * Updates the specified columns for all persistent objects matching the supplied key. *