We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa17008 commit abbbc69Copy full SHA for abbbc69
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/HqlQueryTransformer.java
@@ -106,7 +106,7 @@ private static boolean isSubquery(ParserRuleContext ctx) {
106
} else if (ctx instanceof HqlParser.UpdateStatementContext) {
107
return false;
108
} else {
109
- return ctx.getParent() != null ? isSubquery(ctx.getParent()) : false;
+ return ctx.getParent() != null && isSubquery(ctx.getParent());
110
}
111
112
0 commit comments