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 2025/04/16 10:26:00 UTC

[jira] [Created] (CAY-2887) Expressions: keep exact numerical literals when serializing to string

Nikita Timofeev created CAY-2887:
------------------------------------

             Summary: Expressions: keep exact numerical literals when serializing to string
                 Key: CAY-2887
                 URL: https://issues.apache.org/jira/browse/CAY-2887
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 5.0-M1, 4.2.2, 4.1.1
            Reporter: Nikita Timofeev
             Fix For: 4.2.3, 5.0-M2


Expressions like this {{attribute = 1L}} are serialized to string loosing exact numerical literal type, i.e. it becomes {{attribute = 1}}. 
This could be a problem when it is used in a qualifier as Modeler converts expressions to string for saving.




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