Try :
Key k = KeyFactory.createKey(User.class.getSimpleName(), Key.getId());
Instead of :
Key k = KeyFactory.createKey(User.class.getSimpleName(),
Long.parseLong(Key));
On 30/09/10 01:16, "hendrix.jason" wrote:
>What could this error mean:
>
>java.lang.ClassCastException:
>[Lcom.google.appeng
What could this error mean:
java.lang.ClassCastException:
[Lcom.google.appengine.api.datastore.Key; cannot be cast to
com.google.appengine.api.datastore.Key
It's happening on the last line of this code:
PersistenceManager pm2 = PMF.get().getPersistenceManager();
Key k =
KeyFactor