backendless inheritance

What is the recommended way to handle inheritance using the android Sdk?
Is there a way to register a type resolver that will instantiate the correct instances when using inheritance?

Say I have an abstract Base class and two child classes Child1 and Child2 and I want to store a list of base classes (a list of Child1 and Child2 instances) and retrieve the list of Base items using Backendless.Persistence.of(Base.class).find()?

Is it possible? I can’t find any example that uses inheritance on the documentation.


Hi, dorr!

As a far as I understand you mean an inheritance feature similar to what Hibernate provides?
No, Backendless does not support this feature.