OpenJPA
  1. OpenJPA
  2. OPENJPA-1288

Support alias() on Criteria Query API

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: jpa, query
    • Labels:
      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?

        Issue Links

          Activity

          Donald Woods made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M4 [ 12314149 ]
          Affects Version/s 2.0.0 [ 12314019 ]
          Affects Version/s 2.0.0-M3 [ 12314148 ]
          Affects Version/s 2.0.0-M4 [ 12314149 ]
          Pinaki Poddar made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Pinaki Poddar made changes -
          Link This issue is part of OPENJPA-1268 [ OPENJPA-1268 ]
          Pinaki Poddar made changes -
          Field Original Value New Value
          Link This issue is part of OPENJPA-1013 [ OPENJPA-1013 ]
          Pinaki Poddar created issue -

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development