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/08/08 12:45:00 UTC

[jira] [Created] (CAY-2986) Cgen to run unconditionally

Andrus Adamchik created CAY-2986:
------------------------------------

             Summary: Cgen to run unconditionally
                 Key: CAY-2986
                 URL: https://issues.apache.org/jira/browse/CAY-2986
             Project: Cayenne
          Issue Type: Task
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 5.0-M3


Currently, cgen checks for DataMap age vs. generated classes age and only runs conditionally when the former is newer than the latter. Had a lot of issues with this lately when doing map upgrades, and switching between Claude and IDE (timestamps would get mixed up and cgen won't rerun when I need it). 

So, let it run unconditionally. The whole lazy run optimization is useless anyways. Cgen is idempotent and very fast



--
This message was sent by Atlassian Jira
(v8.20.10#820010)