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?

Was it helpful?

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
scroll top