cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] [Updated] (CAY-1743) Consider dropping "read-only" flattened relationships
Date Fri, 05 Oct 2012 20:56:05 GMT


Andrus Adamchik updated CAY-1743:

    Attachment: vinheritance.tar.gz

Attaching a sample project showing a hack to unset "read-only" flag for read-only relationships.
Somewhat crazy... this whole thing is ripe for simplification.
> Consider dropping "read-only" flattened relationships
> -----------------------------------------------------
>                 Key: CAY-1743
>                 URL:
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library, Modeler
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M1
>         Attachments: vinheritance.tar.gz
> Read-only ObjRelationships were intended to safeguard users from mapping crazy flattened
relationships that Cayenne can't save reliably (i.e. create intermediate records). However
more and more, instead of guiding users to the right mapping choices, they are getting in
the way.. For instance adding pain to vertical inheritance mapping:
> So maybe we should consider letting it loose, and rather than restricting mapping choices,
we should analyze the cases were commits weren't working and fixing those instead.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message