cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2529) Custom expression in DbJoin
Date Wed, 06 Feb 2019 09:36:00 GMT
Nikita Timofeev created CAY-2529:
------------------------------------

             Summary: Custom expression in DbJoin
                 Key: CAY-2529
                 URL: https://issues.apache.org/jira/browse/CAY-2529
             Project: Cayenne
          Issue Type: Task
          Components: Core Library, Modeler
            Reporter: Nikita Timofeev
             Fix For: 4.2.M1


Cayenne uses expression like {{src.id = dst.fk}} as a join clause and this is hardcoded for
now.
We can extend this to accept any {{Expression}}.
This will require redesign in Modeler DbJoin creation dialog and some changes in SelectTranslator.
Also this may touch some logic that depends on {{DbRelationship.isSourceIndependentFromTargetChange()}}
method.



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

Mime
View raw message