cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (Jira)" <j...@apache.org>
Subject [jira] [Created] (CAY-2666) Support "$" is db: and obj: expressions
Date Fri, 17 Jul 2020 08:26:00 GMT
Andrus Adamchik created CAY-2666:
------------------------------------

             Summary: Support "$" is db: and obj: expressions
                 Key: CAY-2666
                 URL: https://issues.apache.org/jira/browse/CAY-2666
             Project: Cayenne
          Issue Type: Bug
            Reporter: Andrus Adamchik


We had a long-standing issue CAY-2034 with an idea to support various non-alphanumeric chars
in db: and obj: paths. Such an implementation would require an escape syntax. How about we
go after a low-hanging fruit first - support "$" in both expressions. "$" is a valid Java
identifier character after all, and is in fact used in the code:

https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#isJavaIdentifierStart-int-
https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#isJavaIdentifierPart-char-

Hopefully this will not require escaping. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message