[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1414) many-to-many and metadata order-by based on column from the target table

Aayush (JIRA) noreply at atlassian.com
Wed Feb 10 15:39:30 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35527#action_35527 ] 

Aayush commented on HHH-1414:
-----------------------------

great. thanks for fixing it. 
I came across this situation and it took me a while to finally land on this page to figure out wht to do. 

for other who come to this page.
here is what my many-to-many mappings look like


<set name="senders" table="Email_Folder_X_Sender">
			<key column="folder_Id"/>
			<many-to-many column="sender_id" class="com.Sender" order-by="sender_description"/>
		</set>

> many-to-many and metadata order-by based on column from the target table
> ------------------------------------------------------------------------
>
>                 Key: HHH-1414
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1414
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: metamodel
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.2.0.cr2
>
>
> Much like we do for filter and where, allow order-by on the <many-to-many/> itself

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