On Nov 4, 2010, at 9:48 AM, Borut Bolčina wrote: > At the database level, the FK attribute is set to "NOT NULL", but this is > not related with the Cayenne.
Yeah, this is what triggers the validation message. I'd say it is a bug - Cayenne should be smarter about meaningful FK + relationship validation. For now you can probably uncheck NOT NULL and file a Jira. Andrus
