Hi Dan, Thanks for your reply, I checked again the ticket I saw is from google cache so it must be out of date.
Just wondering though, how would you tackle this problem in the meantime? Sacrifice database purity or application level polymorphism or somewhere in between? Cheers. On Nov 30, 5:47 am, "Dan Kubb (dkubb)" <[EMAIL PROTECTED]> wrote: > Hi epoch, > > Which ticket are you referring to? We just moved alot of the tickets > over to datamapper.lighthouseapp.com, so it's possible their statuses > were changed accidentally. > > Class Table Inheritance (CTI) is one of those things that's been > discussed, but not implemented mostly because it's more difficult to > get right than Single Table Inheritance (STI). There's also the issue > of doing it in an adapter agnostic manner to work out, not only do we > have to make sure it can work on different RDBMS, but we'd have to > make sure it works for all adapters, which isn't an easy feat. > > With that said, I would love to see CTI supported at some point in the > future. It would be extremely useful to have it so CTI can be done > across different repositories. However, I can't see it happening > before DM 1.0 tho given the amount of other things on our plate, but I > think it would be worthwhile to consider it afterwards. > > Dan > (dkubb) > > On Nov 29, 8:40 am, epoch <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I've been doing some searching on this for datamapper and I notice the > > invalidated ticket for this in lighthouse, so I'm guessing this > > function won't be added anytime soon. > > > So here is my question: how do some of you guys the more experience > > hackers out there solve this problem. Let say for example, an entity > > PARTY encompasses PERSON and ORGANIZATION. That is, a PERSON and an > > ORGANIZATION are each things of significance, and if you want to refer > > to either, you can refer to a PARTY. > > > party > > | > > --------------- > > | | > > person organization > > > STI is possible but definitely not desirable, any thoughts? > > > Thanks. > > epoch > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
