Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2513

CriteriaExpressionBuilder needs to handle subqueries when building accessPaths

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: criteria, query
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              curtisr7 Richard G. Curtis
              Reporter:
              curtisr7 Richard G. Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: