How load Entity data into object - GoogleAppEngine - Low Level API
-
12-01-2021 - |
Question
How can I automatically read a Entity (com.google.appengine.api.datastore.Entity) into a object using GoogleAppEngine Low Level API?
There is no magic way?
Solution
The Low Level API doesn't provide entity mapping - it just exposes a dict-like interface. If you want mapping, you need to use JDO, JPA, or a third-party library like Objectify. Personally I'd suggest Objectify as the obviously superior choice.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow