The JPQL validation in Spring Tool Suite (STS) is showing several errors for valid JPQL/PostgreSQL syntax in combination with Eclipselink #1369
Labels
for: eclipse
something that is specific for Eclipse
for: vscode
something that is specific for VSCode
theme: spring-data-support
theme: validation
type: bug
Milestone
The JPQL validation in Spring Tool Suite (STS) is showing several errors for native and JPQL queries that seem to be valid PostgreSQL syntax. It appears to be a problem with using Eclipselink instead of Hibernate as well.
The queries are executable in a PostgreSQL environment.
IDE Version
Spring Tool Suite 4
Version: 4.25.0.RELEASE
Build Id: 202409101855
Revision: a82190b
To Reproduce
A sample application with a minimal, reproducible sample is attached jpql_issue.zip
Steps to manually reproduce the behavior:
Here is the repository interface code demonstrating the issue:
Used entity
Pojo example
Additional Notes
These errors seem to be false positives or issues with the JPQL validation within STS. The queries are executable in a real PostgreSQL environment as they conform to the expected SQL syntax for PostgreSQL.
The text was updated successfully, but these errors were encountered: