objectsInRange problem with prefetching relationships
objectsInRange problem with prefetching relationships
- Subject: objectsInRange problem with prefetching relationships
- From: Miguel Arroz <email@hidden>
- Date: Tue, 26 Jun 2007 01:36:22 +0100
Hi!
I'm using the ERXEOControlUtilities.objectsInRange method to
obtain some records based on a relatively complex fetch
specification. The fetch spec returns (in my test) about 100,000
objects, so I really need the objectsInRange stuff.
Everything works on a fetch spec without any prefetching stuff.
The problem is that, when I do prefetching, like
specification.setPrefetchingRelationshipKeyPaths(new NSArray(new
String[] {"oneRelationship", "anotherRelationship.someOtherKey",
"bla.ble"} ));
WO will try to prefecth the objects for all the 100,000 objects,
and the app is killed because of running out of memory. Apparently,
the objectsInRange method is not handling the prefetching thing, ie,
it's not generating the "ASC LIMIT x OFFSET y" SQL code in the
prefetching queries.
Am I doing something wrong, it this a Wonder bug, or it is simply
impossible to do this?
Yours
Miguel Arroz
PS: I'm still having trouble sending mails to WOnder-disc... It says
"550-Response: 554 <email@hidden>: Recipient address
rejected: Access denied
550-Several RFCs state that you are required to have a postmaster
550-mailbox for each mail domain. This host does not accept mail
550-from domains whose servers reject the postmaster address.
550 Sender verify failed
Giving up on 66.35.250.206."
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
_______________________________________________
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