You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/03/20 13:43:00 UTC

[jira] [Created] (CAY-2554) Rebuild dbRelationship's and join's structure

Arseni Bulatski created CAY-2554:
------------------------------------

             Summary: Rebuild 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
             Fix For: 4.2.M1


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

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)