Re: Writable FKs

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Nov 04 2010 - 14:38:30 UTC

  • Next message: Michael Gentry: "To Dep PK bug?"

    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



    This archive was generated by hypermail 2.0.0 : Thu Nov 04 2010 - 14:39:03 UTC