Re: How to handle relationship properties?
Re: How to handle relationship properties?
- Subject: Re: How to handle relationship properties?
- From: Miguel Arroz <email@hidden>
- Date: Tue, 3 Jan 2006 13:21:31 +0000
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
"GUERRA E' PAZ
LIBERDADE E' ESCRAVIDAO
IGNORANCIA E' FORCA" -- 1984
Miguel Arroz
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