[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2383) Generated SQL using setMaxResults/setFirstResult duplicate entities in the first page and subsequent pages in Oracle.

Scott Stewart (JIRA) noreply at atlassian.com
Wed Apr 2 13:16:32 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29924 ] 

Scott Stewart commented on HHH-2383:
------------------------------------

Forgot the most important thing:  The simple resolution to this is add an ordering on a unique (or at least mostly-unique) column.

> Generated SQL using setMaxResults/setFirstResult duplicate entities in the first page and subsequent pages in Oracle.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-2383
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2383
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: query-hql
>    Affects Versions: 3.2.2
>         Environment: Hibernate 3.2.2 GA, Oracle 10
>            Reporter: Carlos Eugênio P. da Purificação
>         Attachments: test.zip
>
>   Original Estimate: 4 days
>  Remaining Estimate: 4 days
>
> The generated SQL using setMaxResults/setFirstResult duplicate entities in the first page and subsequent pages.

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