-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodestatus: needs-investigationtheme: spel-supporttheme: spring-data-supporttheme: validationtype: bug
Milestone
Description
Describe the bug
I have the following SpEL expression in a @Query
annotation
group by r having count(p) = ?#{[1].size().longValue()}
The input parameter is a Set<String>
.
This produces the following error marker in Eclipse:
SPEL: extraneous input '[' expecting {'++', '+', '--', '-', '(', '#', '@', '^[', '![', '!', '&', '?[', '$[', LCURLY, 'true', 'false', 'new', 'null', 'T', IDENTIFIER, NUMERIC_LITERAL, STRING_LITERAL}
To Reproduce
Create a @Query
where the value contains a SpEL expression referencing an input parameter, e.g. ?#{[1]}
I'm using Eclipse 2024-06 with STS 4.24
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodestatus: needs-investigationtheme: spel-supporttheme: spring-data-supporttheme: validationtype: bug