(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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira