We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96cbb7d commit 711ec27Copy full SHA for 711ec27
1 file changed
src/main/java/org/springframework/data/ebean/repository/query/EbeanQueryCreator.java
@@ -199,10 +199,10 @@ public Expression build() {
199
ParameterMetadataProvider.ParameterMetadata<Object> pmNot = provider.next(part);
200
return pmNot.isIsNullParameter() ? Expr.isNull(property.toDotPath())
201
: Expr.ne(property.toDotPath(), pmNot.getParameterValue());
202
-// case IS_EMPTY:
203
-// return root.isEmpty(part.getProperty().getSegment());
204
-// case IS_NOT_EMPTY:
205
+ case IS_EMPTY:
+ return Expr.isEmpty(property.toDotPath());
+ case IS_NOT_EMPTY:
+ return Expr.isNotEmpty(property.toDotPath());
206
default:
207
throw new IllegalArgumentException("Unsupported keyword " + type);
208
}
0 commit comments