Closed GoogleCodeExporter closed 9 years ago
Marc, unfortunately the inheritance implementation in ActiveJDBC was
contributed from outside, and apparently not well tested. my fault for letting
it out. Other users also noticed some irregularities with it. I'd suggest not
to use it for now, but instead use composition - this will work.
I will put a warning on the wiki page
Sorry for trouble
Original comment by ipolevoy@gmail.com
on 7 May 2012 at 6:39
Hopefully, I can talk you into the attached patch. I'm not really concerned
about activejdbc fixing/supporting inheritance. More that it not mess about
with abstract classes and try to treat them as Models. I don't think it would
ever be valid to do something like:
MyAbstractClass.findById(1)
I agree about composition. This patch would just make my life simpler. Thanks!
Original comment by marc.har...@gmail.com
on 12 May 2012 at 5:52
Attachments:
An other option is to create an annotation @NotModel or something similar.
Original comment by marc.har...@gmail.com
on 12 May 2012 at 6:21
Original issue reported on code.google.com by
marc.har...@gmail.com
on 4 May 2012 at 12:29