ahmetb / orman

lightweight and minimalist ORM for Java/Android. works with SQLite & MySQL. (not actively maintained)
Other
249 stars 47 forks source link

Class extending Model and another Class #37

Open Antpachon opened 13 years ago

Antpachon commented 13 years ago

Hi.

I have some class for example class A , and class B which extends A. I can't store both in DB because If I want that classes to be an Entity, they need to extend Model< A> and Model< B>.

Is there any solution?

ahmetb commented 12 years ago

I'm afraid we do not support inheritance of entities right now due to technical reasons. I'll be investigating that and look for ways around to solve this issue. Thanks for noticing.