You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (Jira)" <ji...@apache.org> on 2026/10/20 01:03:00 UTC
[jira] [Updated] (CAY-3055) DbRelationship.foreignKey
[ https://issues.apache.org/jira/browse/CAY-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik updated CAY-3055:
---------------------------------
Summary: DbRelationship.foreignKey (was: DbRelationship.fk)
> DbRelationship.foreignKey
> -------------------------
>
> Key: CAY-3055
> URL: https://issues.apache.org/jira/browse/CAY-3055
> Project: Cayenne
> Issue Type: Task
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Priority: Major
> Fix For: 5.0-M4
>
>
> Remodel "DbRelationship.toDependentPK" property as its opposite - "fk". This is cleaner semantics as "fk" logically knows about its target, whereas master should be upstream from dependent. Also, everyone intuitively understands what an "fk" is.
> This will also open up the possibility to model FKs to unique (non-PK) columns
--
This message was sent by Atlassian Jira
(v8.20.10#820010)