[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-675) @OrderBy with default value has no effect on @ManyToMany
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Wed Oct 31 14:49:29 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard updated ANN-675:
---------------------------------
Summary: @OrderBy with default value has no effect on @ManyToMany (was: (EJB3) OrderBy with default value has no effect)
> @OrderBy with default value has no effect on @ManyToMany
> --------------------------------------------------------
>
> Key: ANN-675
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-675
> Project: Hibernate Annotations
> Issue Type: Bug
> Affects Versions: 3.3.0.ga
> Environment: Hibernate 3.2.5
> Reporter: Hontvári József
> Priority: Minor
>
> Accroding to the javadoc if no value is specifed in a @javax.persistence.OrderBy annotation, then the primary key of the associted entity should be used. Currently using this on a many-to-many Set results in no ORDER BY at all in the generated SQL.
--
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