Those need to be Object because they could be (probably are in fact)

SQLExpression instances.
This commit is contained in:
Michael Bayne
2009-05-29 22:16:37 +00:00
parent c46741cbe2
commit a8da0d960f
@@ -532,7 +532,7 @@ public abstract class DepotRepository
* @throws DatabaseException if any problem is encountered communicating with the database. * @throws DatabaseException if any problem is encountered communicating with the database.
*/ */
protected <T extends PersistentRecord> int updatePartial ( protected <T extends PersistentRecord> int updatePartial (
Key<T> key, ColumnExp field, Comparable<?> value, Object... fieldsValues) Key<T> key, ColumnExp field, Object value, Object... fieldsValues)
throws DatabaseException throws DatabaseException
{ {
return updatePartial(key.getPersistentClass(), key, key, field, value, fieldsValues); return updatePartial(key.getPersistentClass(), key, key, field, value, fieldsValues);
@@ -618,7 +618,7 @@ public abstract class DepotRepository
*/ */
protected <T extends PersistentRecord> int updatePartial ( protected <T extends PersistentRecord> int updatePartial (
Class<T> type, final WhereClause key, CacheInvalidator invalidator, Class<T> type, final WhereClause key, CacheInvalidator invalidator,
ColumnExp field, Comparable<?> value, Object... fieldsValues) ColumnExp field, Object value, Object... fieldsValues)
throws DatabaseException throws DatabaseException
{ {
// separate the arguments into keys and values // separate the arguments into keys and values