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

Hontvári József (JIRA) noreply at atlassian.com
Wed Oct 31 06:21:38 EDT 2007


(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