Support alias() on Criteria Query API
-------------------------------------
Key: OPENJPA-1288
URL: https://issues.apache.org/jira/browse/OPENJPA-1288
Project: OpenJPA
Issue Type: New Feature
Components: jpa, query
Affects Versions: 2.0.0-M3, 2.0.0-M4, 2.0.0
Reporter: Pinaki Poddar
Assignee: Pinaki Poddar
Fix For: 2.0.0-M3, 2.0.0-M4, 2.0.0
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?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.