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 3594cafd3 CAY-2858 Redesign Collection and Map Property API
3594cafd3 is described below
commit 3594cafd3a7243fe83b681dc897ddcc499af9342
Author: Nikita Timofeev <[email protected]>
AuthorDate: Mon Jun 17 15:39:56 2024 +0400
CAY-2858 Redesign Collection and Map Property API
---
cayenne/src/main/java/org/apache/cayenne/exp/property/MapProperty.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/cayenne/src/main/java/org/apache/cayenne/exp/property/MapProperty.java
b/cayenne/src/main/java/org/apache/cayenne/exp/property/MapProperty.java
index 63928dc50..4b015cd28 100644
--- a/cayenne/src/main/java/org/apache/cayenne/exp/property/MapProperty.java
+++ b/cayenne/src/main/java/org/apache/cayenne/exp/property/MapProperty.java
@@ -148,7 +148,7 @@ public class MapProperty<K, V extends Persistent> extends
BaseProperty<Map<K, V>
* @since 5.0
*/
public Expression notContainsValuesCollection(Collection<V> values) {
- return ExpressionFactory.inExp(getExpression(), values);
+ return ExpressionFactory.notInExp(getExpression(), values);
}
/**