Hi all

I've had another look at the Transfer wiki and I think what I'm trying
to do is not possible. I'm wanting to delete the record which is a m2m
relationship - Transfer doesn't do this. It appears to me that
Transfer can only handle o2m and m2o relationships and all it does is
set the FK to NULL. Am I right?

So to remove a m2m relationship you need to do this in old school SQL?
And in order for the Transfer object in the cache to be aware of the
deleted relationship you need to clear the 2 PK related objects from
the cache?

Cheers
Matthew

On Dec 8, 8:59 pm, Matthew <[email protected]> wrote:
> Hi all
>
> I have a Page object with a o2m relationship with a PagePanel object
> which has a m2o relationship with a Panel object i.e. Page -> o2m ->
> PagePanel -> m2o -> Panel. Essentially it's a m2m relationship but
> I've had to split it in such a way so that I can access extra columns
> on the m2m table.
>
> My question is how to I break / remove a relationship? I've tried a
> number of things but just can't get Transfer to obey. My logic is that
> I need to tell Transfer to grab the m2m record as an object i.e. get
> PagePanel and then I simply removeParentPage() and removePanel().
> However when I instruct Transfer to save(PagePanel) it doesn't delete
> the relationship record. There is no exception. If I call setter
> methods on the PagePanel object it applies these so it is listening.
>
> Any ideas? Hopefully this explination is enough, if not I can provide
> XML / DAO code etc.
>
> Using Transfer 1.1
>
> Cheers
> Matthew

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