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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]