[ 
https://issues.apache.org/jira/browse/OPENJPA-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved OPENJPA-2356.
--------------------------------------
    Resolution: Fixed

Already fixed in an earlier release: Range queries use OFFSET/FETCH on Derby 
and ROWNUM on DB2 when enabled (6adc2f465). Closing.

> Use new Offset/Limit/ROWNUM features in DB2 family of databases for range 
> queries
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2356
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2356
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>            Priority: Major
>         Attachments: OPENJPA-2356.patch, graycol.gif
>
>
> JPA queries that use setFirstResult() and/or setMaxResult() translate to some 
> form of Offset and Limit syntax in database SQL query. Recently DB2 and Derby 
> has added ROWNUM and FETCH offset respectively.
> OpenJPA should use these facilities when appropriate.   



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to