Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2592) force
hibernate to generate use offset qeury when offset is zero

Anupam M (JIRA)

2008-09-10


Author LoginPost Reply

  [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-2592:
--------------------------------

  Fix Version/s:   (was: 3.3.1)
            3.3.x

> force hibernate to generate use offset qeury when offset is zero
> ----------------------------------------------------------------
>
>           Key: HHH-2592
>           URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2592
>         Project: Hibernate Core
>       Issue Type: Improvement
>       Components: query-criteria, query-hql, query-sql
>   Affects Versions: 3.2.3
>      Environment: Hibernate Core 3.2.3 + Hibernate Annotations 3.3.0
> JDK 5.0
> Oracle 10g r2
>        Reporter: Amir Pashazadeh
>        Assignee: Steve Ebersole
>        Priority: Trivial
>         Fix For: 3.3.x
>
>      Attachments: patch.zip
>
>
> I know this is mostly an Oracle issue, but believe me it is harder to fix it in Oracle!
> when the offset of a paged query is zero, Hibernate does not append offset part to query, but the result which is returned by oracle without the offset part, and result returned when offset is zero is different.
> so some records are retrieved in different pages, and some records (which must be in first page) are not retrieved at all.
> ----
> the patch is included.
> (I've only included Oracle9Dialect which I used)

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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.