Skip to content

CriteriaQueryCastTest.testCastInSubselect fails #1680

Open
@lukasj

Description

@lukasj

testCastInSubselect in org.eclipse.persistence.testing.tests.jpa.criteria.advanced.CriteriaQueryCastTest fails with:

[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   CriteriaQueryCastTest>JUnitTestCase.runBare:719->testCastInSubselect:318 » Persistence Exception [EclipseLink-6121] (Eclipse Persistence Services - 4.0.0.v202208281634): org.eclipse.persistence.exceptions.QueryException
Exception Description: The query has not been defined correctly, the expression builder is missing.  For sub and parallel queries ensure the queries builder is always on the left.
Query: ReadAllQuery(referenceClass=Employee )
[INFO] 
[ERROR] Tests run: 328, Failures: 0, Errors: 1, Skipped: 0

to reproduce, uncomment test and run:
mvn test -pl :org.eclipse.persistence.jpa.testapps.criteria -Dtest=advanced.CriteriaQueryCastTest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions