Re: How to handle relationship properties?
Re: How to handle relationship properties?
- Subject: Re: How to handle relationship properties?
- From: Arturo Perez <email@hidden>
- Date: Tue, 03 Jan 2006 08:33:54 -0500
Hi Miguel,
Sounds like your primary key may be defined incorrectly in the model?
What database and plugin are you using?
Miguel Arroz wrote:
Hi!
It does not work... it actually generates the correct SQL call, with
the user_id column name and such, but apparently it can't get the
primary key value from the object and throws an exception (No value
specified for parameter 1.). Maybe if I make the primary key a class
property, but that sucks... am I doing something wrong?
Yours
Miguel Arroz
On 2006/01/03, at 12:09, Arturo Pérez wrote:
On Jan 3, 2006, at 6:57 AM, Miguel Arroz wrote:
It would be great if Apple allowed to have a qualifier like "user
= %@", %@ being the User object. What it should do is what I do
manually... using EOUtilities.primaryKeyForObject() to obtain it's
primary key, and the fetch the correct object.
EOF does allow qualifiers like that. If it's not working then your
model may be incorrect.
-arturo
_______________________________________________
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