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

CriteriaExpressionBuilder needs to handle subqueries when building accessPaths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.0
    • None
    • criteria, query
    • 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

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

            Dates

              Created:
              Updated: