You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2021/12/14 13:51:00 UTC

[jira] [Closed] (CAY-2697) Read-only cgen template creates mutator methods for to-many relationships

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

Nikita Timofeev closed CAY-2697.
--------------------------------
    Resolution: Fixed

*4.2*: https://github.com/apache/cayenne/pull/478
*4.1*: https://github.com/apache/cayenne/pull/479

> Read-only cgen template creates mutator methods for to-many relationships
> -------------------------------------------------------------------------
>
>                 Key: CAY-2697
>                 URL: https://issues.apache.org/jira/browse/CAY-2697
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.2.M2
>         Environment: I have CayenneModeler v. 4.2.M3-SNAPSHOT (built around 11/2020)
>            Reporter: Andrus Adamchik
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.B2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a model with read-only entities. Class generation from CayenneModeler correctly excludes all setters, but incorrectly generates "addToX" and "removeFromX" to-many mutators.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)