You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2021/02/24 09:52:00 UTC

[jira] [Updated] (CAY-2554) Redesign dbRelationship's and join's structure

     [ https://issues.apache.org/jira/browse/CAY-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Timofeev updated CAY-2554:
---------------------------------
    Fix Version/s:     (was: 4.2.M3)
                   4.3.M1

> Redesign dbRelationship's and join's structure
> ----------------------------------------------
>
>                 Key: CAY-2554
>                 URL: https://issues.apache.org/jira/browse/CAY-2554
>             Project: Cayenne
>          Issue Type: Task
>          Components: Core Library
>    Affects Versions: 4.2.M1
>            Reporter: Arseni Bulatski
>            Assignee: Arseni Bulatski
>            Priority: Major
>             Fix For: 4.3.M1
>
>
> Need to redesign DbRelationship and DbJoin in order to represent relation between entities.
> DbJoin will hold relationship's condition(usual join with pairs of attributes or expression join)  and two dbRelationships, one at a time for each entities.
> This change will better represent relation from database view and will help to implement some new features.
> Structure:
> DbJoin
>  * DbJoinCondition
>  * DbRelationship[]
> Condition for pairs of attributes:
> ColumnPairsCondition
>  * List<ColumnPair>
> or ExpressionCondition(in future)
>  * Expression
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)