anija-anil
anija-anil
In our attempt to switch to JPQL from Jakarta Persistence 3.2, we sent the following JPQL DELETE query to EclipseLink EntityManager.createQuery, `DELETE FROM Product WHERE this.name LIKE ?1`, and it...
This might be related to https://github.com/eclipse-ee4j/eclipselink/issues/2185 which also involves errors when referring to an entity attribute with the "this." entity identification variable. A JPQL DELETE query that compares a numeric...
EclipseLink reports an error "The state field cannot be resolved" when this. is used within JPQL UPDATE queries. Here is one example, ``` Caused by: java.lang.IllegalArgumentException: An exception occurred while...
Is it expected that the JPQL `IN` operation should work with EmbeddedId. EcilpseLink appears to be trying to support it but generates the SQL in a way that results in...
When creating a query with a UUID, the parameter is set as a VARCHAR instead of a UUID, and is rejected by Postgres. Here is an example of the failing...
EclipseLink is not accepting the id(this) operation, which is new in Jakarta Persistence 3.2, when it is placed within a JPQL SELECT or WHERE clause. (It's possible other clauses might...
JPQL queries with embeddable (or relation) attributes that omit the optional entity identification variable (for consistency with JDQL) get IndexOutOfBoundsException on EclipseLink. Example query: `FROM Business WHERE location.address.city=?1 ORDER BY...
EclipseLink is misterpreting the length entity attribute as a LENGTH(...) operation in, `UPDATE Box SET length = length + ?1, width = width - ?1, height = height * ?2`...
EclipseLink is not accepting the ID(THIS) operation when supplied as an argument to another JPQL function, such as LOWER, `FROM Vehicle WHERE LOWER(ID(THIS)) = ?1` The error raised is: ```...
This PR includes the fix for https://github.com/eclipse-ee4j/eclipselink/issues/2182. (Jakarta Data issue ). This will work with a query like below comes from Jakarta Data `[SELECT hexadecimal FROM AsciiCharacter WHERE hexadecimal IS...