Cut and paste error.
This commit is contained in:
@@ -417,7 +417,7 @@ public abstract class DepotRepository
|
|||||||
throws DatabaseException
|
throws DatabaseException
|
||||||
{
|
{
|
||||||
@SuppressWarnings("unchecked") Class<T> pClass = (Class<T>) record.getClass();
|
@SuppressWarnings("unchecked") Class<T> pClass = (Class<T>) record.getClass();
|
||||||
requireNotComputed(pClass, "updatePartial");
|
requireNotComputed(pClass, "update");
|
||||||
|
|
||||||
DepotMarshaller<T> marsh = _ctx.getMarshaller(pClass);
|
DepotMarshaller<T> marsh = _ctx.getMarshaller(pClass);
|
||||||
Key<T> key = marsh.getPrimaryKey(record);
|
Key<T> key = marsh.getPrimaryKey(record);
|
||||||
|
|||||||
Reference in New Issue
Block a user