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 2021/02/09 11:30:00 UTC

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

Andrus Adamchik created CAY-2697:
------------------------------------

             Summary: Read-only cgen template creates mutator method 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
             Fix For: 4.2.M3


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.3.4#803005)