Objectify - Retrieve subclass instances with superclass query
- by Deviling Master
for a project i'm making, i'm using Objectify and Google AppEngine
I'm quoting and old message from Google Groups, but the problem i have is the same:
Here's the problem I'm trying to solve: I'd like to persist instances
of several subclasses of one superclass to the datastore, and then
retrieve them by querying for that superclass.
(For example, a query for Game would return instances of Chess and Backgammon).
Is there any way to accomplish this using Objectify?
Because the thing i want is the same, but the topic does not provides yet an answer (it's 3 years old), I moved here with the same question.
From 2010 to now, this question has been solved?
Thanks
Bye