cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arseni Bulatski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2554) Redesign dbRelationship's and join's structure
Date Wed, 20 Mar 2019 13:45:00 GMT

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

Arseni Bulatski updated CAY-2554:
---------------------------------
    Description: 
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

 

 

  was:
Need to create 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

 

 


> 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
>            Priority: Major
>             Fix For: 4.2.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
(v7.6.3#76005)

Mime
View raw message