This is an automated email from the ASF dual-hosted git repository. ntimofeev pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push: new 8d68524 CAY-2716 Wrong operator for the bitwise NOT 8d68524 is described below commit 8d6852452de03500dba8e8edf4bf5b5faad31dbf Author: Nikita Timofeev <stari...@gmail.com> AuthorDate: Thu Jul 22 18:14:16 2021 +0300 CAY-2716 Wrong operator for the bitwise NOT --- RELEASE-NOTES.txt | 1 + .../org/apache/cayenne/access/sqlbuilder/sqltree/BitwiseNotNode.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index c783b25..e02dc4d 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -29,6 +29,7 @@ CAY-2710 Modeler: modeler throws IllegalArgumentsException when root and rel pat CAY-2712 Shouldn't run batch inserts with generated keys if there is reflexive dependency CAY-2713 ConcurrentModificationException when Inserting CAY-2714 Offset value is not copied to column select metadata +CAY-2716 Wrong operator for the bitwise NOT ---------------------------------- Release: 4.2.M3 diff --git a/cayenne-server/src/main/java/org/apache/cayenne/access/sqlbuilder/sqltree/BitwiseNotNode.java b/cayenne-server/src/main/java/org/apache/cayenne/access/sqlbuilder/sqltree/BitwiseNotNode.java index e7cf2d7..6f0ac06 100644 --- a/cayenne-server/src/main/java/org/apache/cayenne/access/sqlbuilder/sqltree/BitwiseNotNode.java +++ b/cayenne-server/src/main/java/org/apache/cayenne/access/sqlbuilder/sqltree/BitwiseNotNode.java @@ -28,7 +28,7 @@ public class BitwiseNotNode extends ExpressionNode { @Override public QuotingAppendable append(QuotingAppendable buffer) { - return buffer.append('!'); + return buffer.append('~'); } @Override