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

Support alias() on Criteria Query API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • jpa, query
    • None

    Description

      Selection.alias() according to latest JPA 2.0 creates new instances rather than adding an alias name to the receiver.
      This apparently simple change can have a relatively large impact, because we maintain Selection terms keyed by its alias.
      If we go for a delegation pattern to implement alias(), then all Selection derivations (quite a few of them) are to be delegated.

      Comments/thoughts?

      Attachments

        Issue Links

          Activity

            People

              ppoddar@apache.org Pinaki Poddar
              ppoddar@apache.org Pinaki Poddar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: