[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-675) (EJB3) OrderBy with default value has no effect
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:comment-tabpanel#action_28654 ]
Emmanuel Bernard commented on ANN-675:
--------------------------------------
can you provide a test case?
> (EJB3) OrderBy with default value has no effect
> -----------------------------------------------
>
> 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