I use the Objectify library to interact with the application data store.
In my User class, I store the hashed password as byte[]. When I put it in the data store, it is correctly saved as blob.
When I try to load the object Userback, I get this error:
java.lang.IllegalStateException: Cannot load non-collection value '<Blob: 40 bytes>' into private byte[]
How to fix it?
Should I change my User class to have a hashed type password ShortBlob?
source
share