Those need to be Object because they could be (probably are in fact)
SQLExpression instances.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user