From a8da0d960f67278975e9e9d2567b92955be75c7a Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 29 May 2009 22:16:37 +0000 Subject: [PATCH] Those need to be Object because they could be (probably are in fact) SQLExpression instances. --- src/java/com/samskivert/depot/DepotRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/samskivert/depot/DepotRepository.java b/src/java/com/samskivert/depot/DepotRepository.java index 67e154c..f09a070 100644 --- a/src/java/com/samskivert/depot/DepotRepository.java +++ b/src/java/com/samskivert/depot/DepotRepository.java @@ -532,7 +532,7 @@ public abstract class DepotRepository * @throws DatabaseException if any problem is encountered communicating with the database. */ protected int updatePartial ( - Key key, ColumnExp field, Comparable value, Object... fieldsValues) + Key key, ColumnExp field, Object value, Object... fieldsValues) throws DatabaseException { return updatePartial(key.getPersistentClass(), key, key, field, value, fieldsValues); @@ -618,7 +618,7 @@ public abstract class DepotRepository */ protected int updatePartial ( Class type, final WhereClause key, CacheInvalidator invalidator, - ColumnExp field, Comparable value, Object... fieldsValues) + ColumnExp field, Object value, Object... fieldsValues) throws DatabaseException { // separate the arguments into keys and values