well it work work, just not how you want it. you wont have access to the year_awarded column.
so you could create an EntityAward object and have Actor and Director each have a onetomany relationship to it. Then in EntityAward have a manytoone relation to Award. Sean On Jan 27, 5:31 pm, Bob Silverberg <[email protected]> wrote: > Unfortunately that isn't going to work precisely _because_ of the > year_awarded column. You cannot have any extraneous columns in an > association table that's used for a ManyToMany with Transfer. You can > only have the foreign keys. > > With Transfer out-of-the-box I believe you'll have to try to find a > way to make it work with OneToManys and/or manyToManys, but you may > find it impossible. > > Paul Marcotte and I have actually been working on a scenario that is > somewhat similar to this, and I'm in the middle of writing a blog post > about our solution. It's more about the OneToOne/supertype-subtype > issue, but the ideas may be relevant to what you're doing. I hope to > have the post completed by this evening. In the meantime, try some > other combinations of OneToMany and ManyToOne to see if you can come > up with something that works for you. > > Bob > > On Tue, Jan 27, 2009 at 4:38 PM, Jorge Loyo <[email protected]> wrote: > > > Thank you Sean, > > > I noticed that you didn't declare the association table, even when > > there is a composite key. And you use the year_awarded to order by > > array by. > > > How do you display the year_awarded? Is it included in the collection? > > -- > Bob Silverbergwww.silverwareconsulting.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" 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/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
