On Oct 15, 5:25 pm, Matt Quackenbush <[email protected]> wrote:
> Ok, first of all, just to reiterate, you cannot use an o2m on two objects
> like that.  You will need to use m2o and then add decorator methods to fill
> in the "missing" methods that you need.

Sorry but I guess this onetomany relation is a little confusing. I
have checked some of the coldbox sample applications, as well as
codexwiki, and I think I'm beginning to understand... it's taking me a
while, I know :P

I have a question before I begin re-designing my transfer model. In
the docs, more specifically in the FAQ:

http://docs.transfer-orm.com/wiki/Should_I_use_ManyToMany,_or_two_OneToMany_compositions.cfm

It says: "Use two OneToMany compositions with a common child when your
child object is a business object with its own state. If the
association table holds nothing but the two foreign keys, use
ManyToMany."

My case is the former, my linking tables have their own state and it's
the end of two one2many relationships, from two different objects. If
this is not the correct way of having a state-full linking table,
which is?

> Secondly, you will want to call removeCountry() on the object, and not
> removemanytooneCountry().
>
> Hopefully that will be enough to get you moving forward again.  :-)

As always, thanks for your help... and for your wiki ;)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to