-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JPQL EXTRACT not working on PostgreSQL and Oracle using EclipseLink #29440
Labels
Comments
38 tasks
KyleAure
added a commit
to KyleAure/open-liberty
that referenced
this issue
Aug 19, 2024
KyleAure
added a commit
to KyleAure/open-liberty
that referenced
this issue
Aug 19, 2024
Raised Eclipselink issue eclipse-ee4j/eclipselink#2242 |
KyleAure
added a commit
to KyleAure/open-liberty
that referenced
this issue
Oct 7, 2024
This test fails due to OpenLiberty#29440
3 tasks
una-tapa
pushed a commit
to una-tapa/open-liberty
that referenced
this issue
Nov 20, 2024
This test fails due to OpenLiberty#29440
njr-11
added a commit
to njr-11/open-liberty
that referenced
this issue
Mar 7, 2025
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
EclipseLink is generated a SQL query from JPQL to PostgreSQL that is rejected by the database.
For example, the JPQL
SELECT this.publicDebt / this.numFullTimeWorkers FROM DemographicInfo WHERE EXTRACT (YEAR FROM this.collectedOn) = ?1
The PostgreSQL JDBC driver throws the exception:
org.postgresql.util.PSQLException: ERROR: function pg_catalog.extract(unknown, character varying) does not exist
Full exception stack:
The text was updated successfully, but these errors were encountered: