Re: Weird problem with setPrefetchingRelationshipKeyPaths

2008-03-17 Thread Chuck Hill
HI Miguel, On Mar 16, 2008, at 11:32 AM, Miguel Arroz wrote: I have an entity A where each object contains some references to other objects in entity B (each A contains some Bs, but each B is on a diferente relation). The relations are one-to-one, and are modeled only from A to B. That

Re: Weird problem with setPrefetchingRelationshipKeyPaths

2008-03-16 Thread Jake MacMullin
Miguel, Perhaps you've also specified that the fetch specification you're using should refresh re-fetched objects? If so - it will also refresh any relationships you've asked it to pre-fetch. From the EOFetchSpecification javadoc: "Assigning relationships to prefetch also has an effect on

Weird problem with setPrefetchingRelationshipKeyPaths

2008-03-16 Thread Miguel Arroz
Hi! I have an entity A where each object contains some references to other objects in entity B (each A contains some Bs, but each B is on a diferente relation). The relations are one-to-one, and are modeled only from A to B. I'm fetching some objects from entity A, and I'm using set