Closed beikov closed 2 months ago
@lukasj do you want to manage this here as a Persistence TCK challenge (needs challenge label) that if accepted, the described tests will be excluded from the Jakarta EE 10 Platform TCK + Persistence 3.1 TCK (e.g. https://download.eclipse.org/jakartaee/persistence/3.1)?
Thanks!
challenge accepted
...I mean labels added to avoid any confusions :-)
@beikov since this is approved, I'll merge your change to the https://github.com/jakartaee/platform-tck/tree/tckrefactor (for EE 11 currently) and https://github.com/jakartaee/platform-tck/tree/10.0.x branches (for EE 10) Platform TCK branches where we generate the Persistence TCK from.
https://ci.eclipse.org/jakartaee-tck/job/10/job/eftl-standalonetck-build-run-100/117 generated the staged Persistence https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-persistence-tck-3.1.3.zip which includes the https://github.com/jakartaee/platform-tck/pull/1246 change.
https://ci.eclipse.org/jakartaee-tck/job/10/job/eftl-standalonetck-build-run-100/117/testReport/ shows that the staged Persistence TCK 3.1.3 TCK passed all tests with GlassFish which includes EclipseLink.
https://ci.eclipse.org/jakartaee-tck/job/10/job/eftl-standalonetck-build-run-100/118/ also passed with the staged https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee10/staged/eftl/jakarta-jakartaeetck-10.0.4.zip Platform TCK which has the same fix applied.
CC @beikov
I think that this issue can be closed now
per the last comment
The following two tests use wrong query result types:
com/sun/ts/tests/jpa/core/criteriaapi/From/Client.java#fromGetMapAttributeTest
com/sun/ts/tests/jpa/core/criteriaapi/From/Client.java#pathGetMapAttributeTest
They construct a
CriteriaQuery
with the result typejakarta.persistence.criteria.Expression
but select anEmployee
which is obviously incompatible. Hibernate ORM recently introduced a type assignability validation which now causes an error when executing these TCK tests.The two tests should be excluded for now and fixed in the next TCK version.