• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Delete cascade?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delete cascade?


  • Subject: Delete cascade?
  • From: Ian Joyner <email@hidden>
  • Date: Mon, 19 Mar 2007 12:23:21 +1100

I just noticed in my system that if I have the cascade delete rule set on a to-many relationship in EOModeler that the deletes happen one by one.

That is if I have a master record with three detail records, WO issues three SQL DELETEs.

The setup is, each record has a primary key PRIMARY_KEY, which relates to the owned records which have OWNER_KEY. To do the delete cascade, I would think that DELETE FROM <owned table> WHERE OWNER_KEY = <PRIMARY_KEY of owner> would suffice.

Have I got something set up wrong here, or am I missing something?

Thanks
Ian Joyner
Sportstec

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Delete cascade?
      • From: Peter Vandoros <email@hidden>
  • Prev by Date: Re: sending html in email
  • Next by Date: Re: sending html in email
  • Previous by thread: Re: sending html in email <SOLVED>
  • Next by thread: Re: Delete cascade?
  • Index(es):
    • Date
    • Thread