Re: New user PK id question

2007-02-01 Thread Frank
Thanks for explaining this. It is working now. Regards, Frank

Re: New user PK id question

2007-02-01 Thread Frank
Message - From: "Christian Mittendorf" <[EMAIL PROTECTED]> To: Sent: Thursday, February 01, 2007 10:00 AM Subject: Re: New user PK id question Hi! Do not add the id to the properties exposed by the autogenerated object. Just add the id property to the class extending your aut

Re: New user PK id question

2007-02-01 Thread Andrus Adamchik
ECTED]> To: Sent: Thursday, February 01, 2007 9:31 AM Subject: AW: New user PK id question did you set the pk-generation properly (database-generated) in the modeler? -Ursprüngliche Nachricht- Von: Frank [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. Februar 2007 15:23 An: u

Re: New user PK id question

2007-02-01 Thread Christian Mittendorf
red. Frank - Original Message - From: "Peter Schröder" <[EMAIL PROTECTED]> To: Sent: Thursday, February 01, 2007 9:31 AM Subject: AW: New user PK id question did you set the pk-generation properly (database-generated) in the modeler? -Ursprüngliche Nachricht

Re: New user PK id question

2007-02-01 Thread Frank
Yes, I get this error: Validation failure for stemc.cayenne.Employees.id: "id" is required. Frank - Original Message - From: "Peter Schröder" <[EMAIL PROTECTED]> To: Sent: Thursday, February 01, 2007 9:31 AM Subject: AW: New user PK id question did

AW: New user PK id question

2007-02-01 Thread Peter Schröder
did you set the pk-generation properly (database-generated) in the modeler? -Ursprüngliche Nachricht- Von: Frank [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. Februar 2007 15:23 An: user@cayenne.apache.org Betreff: New user PK id question Hello, I have a mysql table with a PK of

New user PK id question

2007-02-01 Thread Frank
Hello, I have a mysql table with a PK of id that is auto incremented. The getter is not generated for this pk. I need to use the pk id in a table as a link to allow the user to edit. If I add the pk id to the objEntity, whenever I try to add a record, cayenne complains that the pk id field cannot