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

Aleksei Valikov (JIRA) noreply at atlassian.com
Tue Feb 6 09:16:41 EST 2007


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

Aleksei Valikov commented on HHH-879:
-------------------------------------

Yes, I do understand why it's uneasy to fix. I have tried hacking in myself but found out that the task is much more complex that I initially thought.

I'd leave this issue registered in order to let other people know about the limitations. A small not in the documentation would also be nice.

Anyway, with Criteria or not, there's clearly a need for a programmatic query formulation facility. So I finally end up writing an own programmatic API. My API is XQuery FLWR (for let where return) like and translates into the HQL at the end.

If you provide anything similar in future versions, I'd surely switch.

> 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