Re: How to debug fetch problem
Re: How to debug fetch problem
- Subject: Re: How to debug fetch problem
- From: Janine Sisk <email@hidden>
- Date: Tue, 10 Apr 2007 14:10:18 -0700
On Apr 10, 2007, at 1:57 PM, Chuck Hill wrote:
Ok, so it's the images part that's null. That's the to-one
relationship to PanelImages. I thought maybe I needed to do
something to get the fetch spec to include it, but I can't find
anything that looks relevant.
Did you check your model for mistakes? :-)
In the outline pane, when I open Panel, then images, the three
attributes (eoid, big_image and thumbnail) are listed there. The
icon next to images is correct for a relationship. I'm not sure what
else to check.
That is true, too. New, Janine. You have to say new. Java likes
its verbiage:
EOFetchSpecification fs = new EOFetchSpecification("Panel", null,
null);
If there is no new, it is a method call and not object creation.
Oops.
janine
_______________________________________________
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