openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2513) CriteriaExpressionBuilder needs to handle subqueries when building accessPaths
Date Thu, 05 Jun 2014 15:26:02 GMT
Rick Curtis created OPENJPA-2513:
------------------------------------

             Summary: CriteriaExpressionBuilder needs to handle subqueries when building accessPaths
                 Key: OPENJPA-2513
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2513
             Project: OpenJPA
          Issue Type: Bug
          Components: criteria, query
    Affects Versions: 2.4.0
            Reporter: Rick Curtis
            Assignee: Rick Curtis


While digging into OPENJPA-2502, I discovered that CriteriaExpressionBuilder.evalAccessPaths(..)
doesn't process subqueries when determining accessPaths. I don't have a very great understanding
of the accessPath concept, but when comparing the access path of a JPQL query to a criteria
query I can see that criteria doesn't do it the same as JPQL.

I added a TODO in CriteriaExpressionBuilder.evalAccessPaths denoting where I think we have
additional work.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message