0
でupdateItem日属性に私はコードの一部を以下によりDynamoDBの中のアイテムの1つの日付属性を更新しようとしています:私はtable.updateItemを呼び出しています最終ラインは、にUnsupportedOperationExceptionがDynamoDBの
AttributeUpdate attributeUpdates = new AttributeUpdate("workDate");
Date workDate = finalMap.get(tID);
attributeUpdates.put(workDate);
PrimaryKey primaryKey = new PrimaryKey("tID", tID);
UpdateItemOutcome outcome = table.updateItem(primaryKey, attributeUpdates);
にUnsupportedOperationExceptionを与えています次のように。
Exception in thread "main" java.lang.UnsupportedOperationException: value type: class java.util.Date
これを行う方法については誰にも分かりません。ありがとう。