Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2554

Redesign dbRelationship's and join's structure

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.M1
    • 4.3.M1
    • Core Library
    • None

    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

       

       

      Attachments

        Activity

          People

            aarrsseni Arseni Bulatski
            aarrsseni Arseni Bulatski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: