Skip to content

Commit

Permalink
Upgrade to jsqlparser 5.0.
Browse files Browse the repository at this point in the history
`ExpressionList` is now extending `ArrayList` requiring minor code changes.

Closes #1878
  • Loading branch information
schauder committed Sep 11, 2024
1 parent 7b2c4e5 commit 44f96b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spring-data-relational/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<java-module-name>spring.data.relational</java-module-name>
<project.root>${basedir}/..</project.root>
<jsqlparser>4.9</jsqlparser>
<jsqlparser>5.0</jsqlparser>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ boolean matches(AnalyticExpression analyticExpression) {
}

private boolean partitionByMatches(AnalyticExpression analyticExpression) {

List<Expression> expressions = analyticExpression.getPartitionExpressionList().getExpressions();
List<? extends Expression> expressions = analyticExpression.getPartitionExpressionList();
return expressions != null && expressions.size() == 1 && partitionBy.matches(expressions.get(0));
}

Expand Down

0 comments on commit 44f96b8

Please sign in to comment.