[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-879) Enable joining the same association twice with Criteria

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Feb 6 08:54:43 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-879?page=comments#action_26001 ] 

Steve Ebersole commented on HHH-879:
------------------------------------

Actually Aleksei I am not sure whether this is simple to fix or not.  On the surface it seems simple, but this goes against the entire original conceptualization of what a Criteria is.  As mentioned here and elsewhere, the original conceptualization of a Criteria is a natural extension of a Loader (the thing used behind the scenes when you invoke get() or load()).  Such changes against the entire conceptualization of a thing tend to be insidious.

The reason I have been leery of putting time and effort into this is because I actually envision a much different way to process criteria queries longer term based on the on-going work on the HQL translator and consolidating code (and capabilities) between the two.  However, that work is not scheduled for completion until 3.3 and is only pre-requisite work for this.  Plus moving Criteria translation and rendering to this format would mean an API change from the perspective of custom Criteria components (Criterion, Projection, etc) because you would no longer render to a String, but to a Node/AST.  So that effects the release timeframe as well since it will require a major release.  We'll have to discuss that on the dev list as to whether this can all fit into a 3.3 timeframe (which I doubt given current resourcing) or needs to push out to a later release.


> Enable joining the same association twice with Criteria
> -------------------------------------------------------
>
>          Key: HHH-879
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-879
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Reporter: Vladimir Bayanov

>
>
> Make double joining the same association with Criteria.createCriteria possible. See: http://forum.hibernate.org/viewtopic.php?t=931249

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list