Hey everyone,
I'm currently facing a challenge while loading entities from Google Cloud Datastore using Objectify. I'm encountering the following error:
com.googlecode.objectify.LoadException: Error loading entity: At path 'key': Don't know how to translate StringValue{valueType=STRING, value=****} to a number
The issue arises because while most primary keys are Long values (e.g., id:5755441703288832), some are in String format (e.g., name:****). Now, I need to convert these String primary keys to Long to resolve the error.
Could someone please guide me on how to achieve this conversion in Google Cloud Datastore using Objectify?
Any help or insights would be greatly appreciated. Thanks a lot!
--
You received this message because you are subscribed to the Google Groups "objectify-appengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/objectify-appengine/8d6d8c70-985f-4d8b-8486-8e716a3efa25n%40googlegroups.com.