Hi everybody,

I'm facing a problem using raw rows fetching. The fetch returns less records than I expect with this option. I've written the following example to demonstrate the problem:

EOFetchSpecification fetchSpecification = new EOFetchSpecification(entityName, qualifier, sortOrderings);

NSArray eos = editingContext.objectsWithFetchSpecification(fetchSpecification);

System.out.println("The array of objects size is " + eos.size());

fetchSpecification.setFetchesRawRows(true);
fetchSpecification.setRawRowKeyPaths(keyPaths);

NSArray resultSet = editingContext.objectsWithFetchSpecification(fetchSpecification);

System.out.println("The raw rows resultSet size is " + resultSet.size());

I was expecting the same result printed in the console. But the size of the result set is always smaller than the size of the array of objects. Am I doing something wrong?

BTW, Im using WO 5.4.3.

Cheers,

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