You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2014/06/05 17:26:02 UTC
[jira] [Created] (OPENJPA-2513) CriteriaExpressionBuilder needs to
handle subqueries when building accessPaths
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)