Skip to content

Commit 0280168

Browse files
GH-2444 - Apply negotiation to collections as well.
1 parent c6314ad commit 0280168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/springframework/data/neo4j/repository/query/CypherQueryCreator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ private Condition createImpl(Part part, Iterator<Object> actualParameters) {
371371
return toCypherProperty(path, ignoreCase)
372372
.isNotEqualTo(toCypherParameter(nextRequiredParameter(actualParameters, property), ignoreCase));
373373
case NOT_CONTAINING:
374-
return toCypherProperty(path, ignoreCase)
375-
.contains(toCypherParameter(nextRequiredParameter(actualParameters, property), ignoreCase)).not();
374+
return containingCondition(path, property, actualParameters, ignoreCase).not();
376375
case NOT_IN:
377376
return toCypherProperty(path, ignoreCase)
378377
.in(toCypherParameter(nextRequiredParameter(actualParameters, property), ignoreCase)).not();

0 commit comments

Comments
 (0)