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] [Closed] (CAY-2534) Join table is mapped when meaningful PK is set
Date Mon, 11 Feb 2019 12:28:00 GMT

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

Nikita Timofeev closed CAY-2534.
--------------------------------
    Resolution: Not A Bug

Meaningful PK option is just a one big regexp, so it's not really convenient to use.
 Tested with schema that has tables {{a}}, {{b}} and {{ab}}.
 With pattern like {{^a$|^b$}} only entities for required tables {{a}} and {{b}} are created
and not for the many-to-many join table {{ab}}.

> Join table is mapped when meaningful PK is set
> ----------------------------------------------
>
>                 Key: CAY-2534
>                 URL: https://issues.apache.org/jira/browse/CAY-2534
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.1.M3
>            Reporter: ana benko
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M3
>
>
> # Select db schema with tables joined by many-to-many relationship
>  # In Tables with meaningful PK pattern provide one of the table names joined by many-to-many
relationship (not the join table)
>  # Run Import
> -> Join table is mapped -> NOT OK



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

Mime
View raw message