Hi!

I have a complicated graph of objects I want to delete. Basically almost all of them deletes the next ones on cascade. So, imagine A. A has a lot of Bs. Each B has a lot of Cs. Each C has a lot of Ds, and so on. On a moderate size example, I'm talking about 5000 objects or more.

Even if I choose the delete on cascade option in EOModeler, the generated SQL will not have the DELETE CASCADE code, so I guess it's all done by WO. And that means... it's terribly slow. So here's my two questions:

  1) Is there a way to make EOModeler generate the DELETE CASCADE SQL?

2) Adding it to the database definition (either EOModeler or manually) will conflict with EO in any way?

  Yours

Miguel Arroz

      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to