[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-674) (Hibernate) @OrderBy orders on the association table for a many-to-many Set

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Oct 31 14:47:29 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved ANN-674.
----------------------------------

    Resolution: Duplicate

Duplicate of ANN-625

> (Hibernate) @OrderBy orders on the association table for a many-to-many Set
> ---------------------------------------------------------------------------
>
>                 Key: ANN-674
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-674
>             Project: Hibernate Annotations
>          Issue Type: Bug
>    Affects Versions: 3.3.0.ga
>         Environment: Hibernate 3.2.5
>            Reporter: Hontvári József
>
> I think @org.hibernate.annotations.OrderBy should refer to the associated entity, not the association table. Currently in the generated SQL query the field name supplied in the "clause" parameter is prefixed with the alias of the association table.

-- 
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